Skip to contentSkip to conversation

git gui handles type change from file to symlink poorly

BUG? Gustaf Hendeby 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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