diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-05-23 22:44:08 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2011-07-24 15:34:54 +1000 |
commit | 74cb884faa2d4214e349879adda8adc73362d692 (patch) | |
tree | 3a9167575e4f07aafac265b59ff457cd16b1b64a /t/t9112-git-svn-md5less-file.sh | |
parent | gitk: Simplify calculation of gitdir (diff) | |
download | tgif-74cb884faa2d4214e349879adda8adc73362d692.tar.xz |
gitk: Show modified files with separate work tree
"git rev-parse --is-inside-work-tree" is currently used to determine
whether to show modified files in gitk (the red and green fake
commits). This does not work if the current directory is not inside
the work tree, as can be the case e.g. if GIT_WORK_TREE is
set. Instead, check if the repository is not bare and that we are not
inside the .git directory.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t9112-git-svn-md5less-file.sh')
0 files changed, 0 insertions, 0 deletions