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:
commit
304caa4b42
@ -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