mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-21 04:10:37 +02:00
fix: no files are uploaded
This commit is contained in:
parent
bc2838829b
commit
fd7adaa61f
@ -790,9 +790,9 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
else:
|
||||
logging.debug(remote.url + ': ' + pushinfo.summary)
|
||||
|
||||
# Switch to the initial branch
|
||||
# Switch to the initial branch and unstage all files
|
||||
repo.head.reference = initial_branch_ref
|
||||
repo.head.reset(index=True, working_tree=True)
|
||||
repo.head.reset(index=True, working_tree=False)
|
||||
|
||||
if progress:
|
||||
progressbar.done()
|
||||
|
Loading…
Reference in New Issue
Block a user