FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
WOrkaround for cwd bug on pull · gitpython-developers/GitPython@e63182f · GitHub
gitpython-developers
GitPython
Repository navigation
Code
Issues
6
(6)
Pull requests
3
(3)
Discussions
Actions
Security and quality
42
(42)
Insights
Commit
e63182f
Browse files
Browse the repository at this point in the history
Browse files
aelaguiz
committed
WOrkaround for cwd bug on pull
1 parent
2ffde74
commit
e63182f
Copy full SHA for e63182f
1 file changed
+3
Lines changed: 3 additions & 0 deletions
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
git
cmd.py
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
git/cmd.py
Copy file name to clipboard
Expand all lines: git/cmd.py
+3
Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -330,6 +330,9 @@ def execute(self, command,
330
330
cwd
=
os
.
getcwd
()
331
331
else
:
332
332
cwd
=
self
.
_working_dir
333
+
334
+
if
command
[
1
]
==
'pull'
:
335
+
cwd
+=
'/.git'
333
336
334
337
# Start the process
335
338
proc
=
Popen
(
command
,
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments