diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 3710a518..55f7ceaa 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -506,11 +506,6 @@ def update_servergitmirrors(servergitmirrors, repo_section): repo = git.Repo.init(git_mirror_path, initial_branch=GIT_BRANCH) initial_ref = repo.head.ref - # An initial commit of the git tree is required be for other operations - print("repo.index.entries:", len(repo.index.entries)) - if len(repo.index.entries) == 0: - repo.index.commit('Initial commit') - enabled_remotes = [] for d in servergitmirrors: upload_to_servergitmirror(mirror_config=d,