Always run git fetch so that commits are available for rebase

Change-Id: Iacbc467501af3282b889aadb9c85ac829a0df1bb
This commit is contained in:
James E. Blair 2011-10-06 10:43:52 -04:00
parent ee5442c27b
commit 89ee3b142e

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):