chiark / gitweb /
Execute the 'git ...' rather than 'git-...'
[stgit] / stgit / basedir.py
index 30f45f971fcd75ab618dcba4cde538b86dbb3f89..3e078f51b29d95baf3793f203086d3ec5fd8be1e 100644 (file)
@@ -34,7 +34,7 @@ def get():
             __base_dir = os.environ['GIT_DIR']
         else:
             try:
-                __base_dir = Run('git-rev-parse', '--git-dir').output_one_line()
+                __base_dir = Run('git', 'rev-parse', '--git-dir').output_one_line()
             except RunException:
                 __base_dir = ''