Fix git mod so that we switch to the desired version even if it was previously downloaded

reviewable/pr18780/r1
Toshio Kuratomi 11 years ago
parent b326201a65
commit 050a462b2a

@ -672,8 +672,8 @@ def main():
repo_updated = True
# switch to version specified regardless of whether
# we cloned or pulled
if repo_updated and not bare:
# we got new revisions from the repository
if not bare:
switch_version(git_path, module, dest, remote, version)
# Deal with submodules

Loading…
Cancel
Save