Execute the 'git ...' rather than 'git-...'
[stgit] / stgit / basedir.py
index 30f45f9..3e078f5 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 = ''