1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Merge branch 'deinit' into 'master'

add --force to git deinit

See merge request fdroid/fdroidserver!1411
This commit is contained in:
Hans-Christoph Steiner 2023-11-28 10:02:03 +00:00
commit 304caa4b42

View File

@ -1344,7 +1344,7 @@ class vcs_git(vcs):
def deinitsubmodules(self):
self.checkrepo()
p = FDroidPopen(['git', 'submodule', 'deinit', '--all'], cwd=self.local, output=False)
p = FDroidPopen(['git', 'submodule', 'deinit', '--all', '--force'], cwd=self.local, output=False)
if p.returncode != 0:
raise VCSException(_("Git submodule deinit failed"), p.output)