threads / bug / 15013

[BUG?] git gui handles type change from file to symlink poorly

Subject: [BUG?] git gui handles type change from file to symlink poorly

## tl;dr

One message between Aug 14, 2008 and Aug 14, 2008.

replies: 0people: 1as markdown or json

Gustaf Hendeby· Aug 14, 2008, 22:23 UTC · lore

Hi! Playing around with git gui I noticed that git gui handles the case when files are transformed to symlinks poorly. The following exposes the problem:

mkdir foo cd foo git init echo FILE > foo git add foo && git commit -mFile rm foo ln -s bar foo

Now start the git gui and try to stage the change in foo.
Gives:   error: no desc for state={_T} foo

Then try add the change to foo to the index at the command line and try to commit in the gui...

I don't speak tk/tcl so unfortunately I can't be of much help chasing this down.

/Gustaf

← back to recent threads