From 8495456aacfe53ff88bfda06355c7159ec61cd84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 19 Aug 2024 17:27:47 +0200 Subject: [PATCH] app_caches: git pull when downloading all branches --- app_caches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app_caches.py b/app_caches.py index d05e99d..6c2de37 100755 --- a/app_caches.py +++ b/app_caches.py @@ -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]