Pārlūkot izejas kodu

SubprocessGitClient: fixed git argv list for Popen

Stefan Zimmermann 9 gadi atpakaļ
vecāks
revīzija
c4d0cd0e5e
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      dulwich/client.py

+ 1 - 2
dulwich/client.py

@@ -697,8 +697,7 @@ class SubprocessGitClient(TraditionalGitClient):
         import subprocess
         if self.git_command is None:
             git_command = find_git_command()
-        argv = git_command + [service, path]
-        argv = ['git', service.decode('ascii'), path]
+        argv = git_command + [service.decode('ascii'), path]
         p = SubprocessWrapper(
             subprocess.Popen(argv, bufsize=0, stdin=subprocess.PIPE,
                              stdout=subprocess.PIPE,