app_caches: git pull when downloading all branches
This commit is contained in:
parent
6be9d2ff17
commit
8495456aac
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ def app_cache_clone_or_update(
|
|||
if fetch_all_branches:
|
||||
repo.git.remote("set-branches", "origin", "*")
|
||||
repo.remote("origin").fetch()
|
||||
repo.remote("origin").pull()
|
||||
else:
|
||||
if repo.active_branch != branch:
|
||||
all_branches = [str(b) for b in repo.branches]
|
||||
|
|
Loading…
Reference in a new issue