[PATCH] De-hyphenate Git commands in update-patchwork-status.py

martin f. krafft madduck at madduck.net
Fri Feb 5 13:18:54 EST 2010


Even though update-patchwork-status.py doesn't really do anything yet,
it uses the ancient way to call Git commands, so this patch fixes that.

Signed-off-by: martin f. krafft <madduck at madduck.net>
---
 apps/patchwork/bin/update-patchwork-status.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/patchwork/bin/update-patchwork-status.py b/apps/patchwork/bin/update-patchwork-status.py
index c774d63..2da5d23 100755
--- a/apps/patchwork/bin/update-patchwork-status.py
+++ b/apps/patchwork/bin/update-patchwork-status.py
@@ -25,7 +25,7 @@ import subprocess
 from optparse import OptionParser
 
 def commits(options, revlist):
-    cmd = ['git-rev-list', revlist]
+    cmd = ['git', 'rev-list', revlist]
     proc = subprocess.Popen(cmd, stdout = subprocess.PIPE, cwd = options.repodir)
 
     revs = []
@@ -36,7 +36,7 @@ def commits(options, revlist):
     return revs
 
 def commit(options, rev):
-    cmd = ['git-diff', '%(rev)s^..%(rev)s' % {'rev': rev}]
+    cmd = ['git', 'diff', '%(rev)s^..%(rev)s' % {'rev': rev}]
     proc = subprocess.Popen(cmd, stdout = subprocess.PIPE, cwd = options.repodir)
 
     buf = proc.communicate()[0]
-- 
1.6.5



More information about the Patchwork mailing list