diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 17:29:07 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 17:29:07 +0000 |
commit | 811734bce820e697febef23f74e5c44a800dd649 (patch) | |
tree | c8acccd68334d5287cd473d5bb41a5573a50610b /tools/sync-webkit-git.py | |
parent | b8128d8e0c8c675627f8cf43599b157cc939af1b (diff) | |
download | chromium_src-811734bce820e697febef23f74e5c44a800dd649.zip chromium_src-811734bce820e697febef23f74e5c44a800dd649.tar.gz chromium_src-811734bce820e697febef23f74e5c44a800dd649.tar.bz2 |
sync-webkit-git: reduce diff-index output
We run diff-index to see if there are any changes we need to pull in,
but we don't need it to print all of those changes.
Review URL: http://codereview.chromium.org/202045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/sync-webkit-git.py')
-rwxr-xr-x | tools/sync-webkit-git.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sync-webkit-git.py b/tools/sync-webkit-git.py index 0de9d40..469d82b 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']) |