aboutsummaryrefslogtreecommitdiff
path: root/http-sync-repos.py
diff options
context:
space:
mode:
Diffstat (limited to 'http-sync-repos.py')
-rwxr-xr-xhttp-sync-repos.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/http-sync-repos.py b/http-sync-repos.py
index 97e3d7f..2a0ab04 100755
--- a/http-sync-repos.py
+++ b/http-sync-repos.py
@@ -73,6 +73,7 @@ try:
print url
try:
if pull:
+ check_call(("git", "fetch", "--all"), cwd = repo)
check_call(("git", "pull"), cwd = repo)
else:
check_call(("git", "clone", url, repo))