1
0
Fork 0

app_caches: git pull when downloading all branches

This commit is contained in:
Félix Piédallu 2024-08-19 17:27:47 +02:00 committed by Salamandar
parent 6be9d2ff17
commit 8495456aac

View file

@ -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]