From 89ee3b142e1576791806be89df229592437c7b5c Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 6 Oct 2011 10:43:52 -0400 Subject: [PATCH] Always run git fetch so that commits are available for rebase Change-Id: Iacbc467501af3282b889aadb9c85ac829a0df1bb --- git-review | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/git-review b/git-review index 77f6d0c7..52ffdb5c 100755 --- a/git-review +++ b/git-review @@ -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):