Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: tools/sync-webkit-git.py

Issue 202045: sync-webkit-git: reduce diff-index output (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sync-webkit-git.py
diff --git a/tools/sync-webkit-git.py b/tools/sync-webkit-git.py
index 0de9d409ac77d9adca8df99714d68901abb5b32b..469d82bd076112c77ead6e251de5a825c8543453 100755
--- a/tools/sync-webkit-git.py
+++ b/tools/sync-webkit-git.py
@@ -75,7 +75,8 @@ def UpdateCurrentCheckoutIfAppropriate():
print "Run 'git checkout gclient' to put this under control of gclient."
return
- if subprocess.call(['git', 'diff-index', '--exit-code', 'HEAD']):
+ if subprocess.call(['git', 'diff-index', '--exit-code', '--shortstat',
+ 'HEAD']):
print "Resetting tree state to new revision."
subprocess.check_call(['git', 'reset', '--hard'])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698