Skip to content

Commit

Permalink
Fix git mod so that we switch to the desired version even if it was p…
Browse files Browse the repository at this point in the history
…reviously downloaded
  • Loading branch information
abadger committed Dec 9, 2014
1 parent b326201 commit 050a462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source_control/git.py
Expand Up @@ -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
Expand Down

0 comments on commit 050a462

Please sign in to comment.