From ca24aa4ca85da123df613f7105249605764f1321 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 3 Dec 2017 13:12:43 +0100 Subject: [PATCH] stop `git clone` from hanging at prompts Forgot this in fdbfb4d1a2b4f97ff0e1b93739fee2f0c5652e63 !378 reviewed in person with @bubu @uniqx --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index e7a1f1ec..6b48b2a0 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -833,7 +833,7 @@ class vcs_git(vcs): def gotorevisionx(self, rev): if not os.path.exists(self.local): # Brand new checkout - p = FDroidPopen(['git', 'clone', self.remote, self.local], cwd=None) + p = self.GitFetchFDroidPopen(['clone', self.remote, self.local], cwd=None) if p.returncode != 0: self.clone_failed = True raise VCSException("Git clone failed", p.output)