提交 5024baa4 编写于 作者: P Peter Baumann 提交者: Paul Mackerras

[PATCH] Make gitk work when launched in a subdirectory

Make gitk use git-rev-parse --git-dir to find the repository.
Signed-off-by: NPeter Baumann <siprbaum@stud.informatik.uni-erlangen.de>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 6c283328
......@@ -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]
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册