diff options
author | Peter Baumann <siprbaum@stud.informatik.uni-erlangen.de> | 2007-01-09 15:30:19 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-01-13 16:15:09 +1100 |
commit | 5024baa43790bf0ea12905b47c8922e3b256ae61 (patch) | |
tree | ef55bcaa089cd92aeb4ba2b56ed1add0572d6a57 /gitk | |
parent | 6c2833284d84d1128f44dbfd846c81ef93f07a3c (diff) | |
download | git-5024baa43790bf0ea12905b47c8922e3b256ae61.tar.gz |
[PATCH] Make gitk work when launched in a subdirectory
Make gitk use git-rev-parse --git-dir to find the repository.
Signed-off-by: Peter Baumann <siprbaum@stud.informatik.uni-erlangen.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ proc gitdir {} { if {[info exists env(GIT_DIR)]} { return $env(GIT_DIR) } else { - return ".git" + return [exec git rev-parse --git-dir] } } |