Merge "Ignore content of merge commits in reporting"

This commit is contained in:
Jenkins 2013-12-04 00:49:42 +00:00 committed by Gerrit Code Review
commit 7a85ba60cf

View File

@ -539,8 +539,8 @@ def assert_one_change(remote, branch, yes, have_hook):
use_color = "--color=%s" % color
else:
use_color = ""
cmd = "git log %s --decorate --oneline HEAD --not remotes/%s/%s --" % (
use_color, remote, branch)
cmd = ("git log %s --decorate --oneline HEAD --not --remotes=%s" % (
use_color, remote))
(status, output) = run_command_status(cmd)
if status != 0:
print("Had trouble running %s" % cmd)