summaryrefslogtreecommitdiff
path: root/lib/class.tcl
diff options
context:
space:
mode:
authorLibravatar Michele Ballabio <barra_cuda@katamail.com>2007-09-09 21:04:45 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-09 19:47:22 -0400
commit2d19f8e921a1cdc562783814747819b0d5a12641 (patch)
tree4b2565cb9c1f6d3a20dce7601bad34a862fb44de /lib/class.tcl
parentgit-gui: Avoid use of libdir in Makefile (diff)
downloadtgif-2d19f8e921a1cdc562783814747819b0d5a12641.tar.xz
git-gui: show unstaged symlinks in diff viewer
git-gui has a minor problem with regards to symlinks that point to directories. git init mkdir realdir ln -s realdir linkdir git gui Now clicking on file names in the "unstaged changes" window, there's a problem coming from the "linkdir" symlink: git-gui complains with error reading "file4": illegal operation on a directory ...even though git-gui can add that same symlink to the index just fine. This patch fix this by adding a check. [sp: Minor fix to use {link} instead of "link" in condition and to only open the path if it is not a symlink.] Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/class.tcl')
0 files changed, 0 insertions, 0 deletions