Skip to content

Commit 0df0818

Browse files
committed
debug printing
1 parent c441316 commit 0df0818

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ def _is_cygwin_git(git_executable: str) -> bool:
475475
process = subprocess.Popen([strings_cmd, git_cmd], stdout=subprocess.PIPE, text=True)
476476
strings_output, _ = process.communicate()
477477
is_cygwin = any(x for x in strings_output if "cygwin" in x.lower())
478+
if not is_cygwin:
479+
_logger.debug(f"is not cygwin: {strings_output}")
478480
except Exception as ex:
479481
_logger.debug("Failed checking if running in CYGWIN due to: %r", ex)
480482
_is_cygwin_cache[git_executable] = is_cygwin

0 commit comments

Comments
 (0)