mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-17 22:47:16 -04:00
fix double pushing on remote
This commit is contained in:
@@ -364,11 +364,6 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
progress = MyProgressPrinter()
|
||||
else:
|
||||
progress = None
|
||||
# push for every remote. This will overwrite the git history
|
||||
for remote in repo.remotes:
|
||||
logging.debug('Pushing to ' + remote.url)
|
||||
with repo.git.custom_environment(GIT_SSH_COMMAND=ssh_cmd):
|
||||
remote.push('master', force=True, set_upstream=True, progress=progress)
|
||||
|
||||
# push for every remote. This will overwrite the git history
|
||||
for remote in repo.remotes:
|
||||
|
||||
Reference in New Issue
Block a user