Merge "Always run git fetch so that commits are available for rebase"

This commit is contained in:
Jenkins 2011-10-06 21:01:15 +00:00 committed by Gerrit Code Review
commit afd7ee871c

View File

@ -424,9 +424,8 @@ def main():
set_hooks_commit_msg()
if UPDATE:
cmd = "git fetch %s %s" % (remote, branch)
(status, output) = run_command_status(cmd)
cmd = "git fetch %s %s" % (remote, branch)
(status, output) = run_command_status(cmd)
if options.rebase:
if not rebase_changes(branch, remote):