chiark / gitweb /
Execute the 'git ...' rather than 'git-...'
[stgit] / stgit / commands / repair.py
index 4787f72a7783a8cf5699dc902738c7b97cfdbe6a..c36db07f2ebcc4dde795095b62f2278a6fd5e0a6 100644 (file)
@@ -80,7 +80,7 @@ def read_commit_dag(branch):
     out.start('Reading commit DAG')
     commits = {}
     patches = set()
-    for line in Run('git-rev-list', '--parents', '--all').output_lines():
+    for line in Run('git', 'rev-list', '--parents', '--all').output_lines():
         cs = line.split()
         for id in cs:
             if not id in commits:
@@ -88,7 +88,7 @@ def read_commit_dag(branch):
         for id in cs[1:]:
             commits[cs[0]].parents.add(commits[id])
             commits[id].children.add(commits[cs[0]])
-    for line in Run('git-show-ref').output_lines():
+    for line in Run('git', 'show-ref').output_lines():
         id, ref = line.split()
         m = re.match(r'^refs/patches/%s/(.+)$' % branch, ref)
         if m and not m.group(1).endswith('.log'):