Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5593dc0 commit a67bf61Copy full SHA for a67bf61
lib/git/cmd.py
@@ -17,8 +17,13 @@
17
'output_stream' )
18
19
extra = {}
20
-if sys.platform == 'win32':
21
- extra = {'shell': True}
+# NOTE: Execution through a shell appears to be slightly faster, but in fact
+# I consider it a problem whenever complex strings are passed and *interpreted*
22
+# by the shell beforehand. This can cause great confusion and reduces compatability
23
+# between the OS which is why the shell should not be used ( unless it does not work
24
+# otherwise )
25
+#if sys.platform == 'win32':
26
+# extra = {'shell': False}
27
28
def dashify(string):
29
return string.replace('_', '-')
0 commit comments