Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e63182f

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)