[BUG?] git gui handles type change from file to symlink poorly
- From
Gustaf Hendeby <hendeby@isy.liu.se>
- Date
- Aug 14, 2008, 22:23 UTC
- Message-ID
- <48A4B04D.4070302@isy.liu.se>
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} fooThen 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