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 | |
parent | [PATCH] gitk: add current directory to main window title (diff) | |
download | tgif-5024baa43790bf0ea12905b47c8922e3b256ae61.tar.xz |
[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>
-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] } } |