Always run git fetch so that commits are available for rebase
Change-Id: Iacbc467501af3282b889aadb9c85ac829a0df1bb
This commit is contained in:
parent
ee5442c27b
commit
89ee3b142e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user