chiark / gitweb /
stop `git clone` from hanging at prompts
authorHans-Christoph Steiner <hans@eds.org>
Sun, 3 Dec 2017 12:12:43 +0000 (13:12 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sun, 3 Dec 2017 12:13:07 +0000 (13:13 +0100)
Forgot this in fdbfb4d1a2b4f97ff0e1b93739fee2f0c5652e63 !378

reviewed in person with @bubu @uniqx

fdroidserver/common.py

index e7a1f1ece58ca159a8ffbe4f702d48e054c88efd..6b48b2a0f23fb73171948c2a5bfcbac624d45a64 100644 (file)
@@ -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)