mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
add --force to git deinit
This commit is contained in:
parent
9b38690df6
commit
e2e7782ef3
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user