.mailmap: fix screw-ups in Uwe's name
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index 33bac1f3f6ff74cda79e31589d855d62eb5cdaf8..031c829f267d5926ebdf689fea1d8cc1c79cb141 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -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]
     }
 }