mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Forgot to set the found flag!
This commit is contained in:
parent
596e536122
commit
a9166b72c9
@ -130,6 +130,7 @@ def update():
|
||||
# Found it, make sure it has the correct ref
|
||||
if not branch.tracking_branch() is ref:
|
||||
branch.set_tracking_branch(ref)
|
||||
found = True
|
||||
if not found:
|
||||
branch = repo.create_head(short, ref)
|
||||
branch.set_tracking_branch(ref)
|
||||
|
Loading…
Reference in New Issue
Block a user