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.
is_cygwin_git()
1 parent 1fbcf36 commit fcfdafdCopy full SHA for fcfdafd
git/util.py
@@ -350,7 +350,7 @@ def is_cygwin_git(git_executable):
350
universal_newlines=True)
351
uname_out, _ = process.communicate()
352
#retcode = process.poll()
353
- is_cygwin = 'CYGWIN' in uname_out
+ is_cygwin = 'CYGWIN' in uname_out or 'MSYS' in uname_out
354
except Exception as ex:
355
log.debug('Failed checking if running in CYGWIN due to: %r', ex)
356
_is_cygwin_cache[git_executable] = is_cygwin
0 commit comments