script/autobuild.py: git diff has a '--stat' option, no need to use 'diffstat'
authorStefan Metzmacher <metze@samba.org>
Mon, 7 Feb 2011 12:48:08 +0000 (13:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 7 Feb 2011 13:55:10 +0000 (14:55 +0100)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb  7 14:55:10 CET 2011 on sn-devel-104

script/autobuild.py

index 6c7b4c7943dc7602dbe6b17378bd8f71da5e9cce..b02928574a5e18908f8fa3c71ae1ead856baa361 100755 (executable)
@@ -334,7 +334,7 @@ def rebase_tree(url):
         sys.exit(0)
     run_cmd("git describe master/master", show=True, dir=test_master)
     run_cmd("git describe HEAD", show=True, dir=test_master)
-    run_cmd("git --no-pager diff HEAD master/master | diffstat", show=True, dir=test_master)
+    run_cmd("git --no-pager diff --stat HEAD master/master", show=True, dir=test_master)
 
 def push_to(url):
     print("Pushing to %s" % url)