FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WOrkaround for cwd bug on pull · gitpython-developers/GitPython@e63182f · GitHub

Repository navigation

Commit e63182f

Browse files
committed
WOrkaround for cwd bug on pull
1 parent 2ffde74 commit e63182f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎git/cmd.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,9 @@ def execute(self, command,
330330
cwd = os.getcwd()
331331
else:
332332
cwd=self._working_dir
333+
334+
if command[1] == 'pull':
335+
cwd += '/.git'
333336

334337
# Start the process
335338
proc = Popen(command,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL