git gui handles type change from file to symlink poorly
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