Add remote arg to git remote update.

Fixes problem setting up remote tracking on already existing gerrit remotes.

Change-Id: I2c04c3139201d1eecca5ba2d776390c2f4e38e71
This commit is contained in:
James E. Blair 2011-10-05 09:47:01 -04:00
parent 0c21fa6cb3
commit ee5442c27b

View File

@ -223,7 +223,7 @@ def check_remote(remote):
# We have the remote, but aren't set up to fetch. Fix it
if VERBOSE:
print "Setting up gerrit branch tracking for better rebasing"
output = run_command("git remote update %s")
output = run_command("git remote update %s" % remote)
if VERBOSE:
print output
return