Skip to content

Commit 2bf148c

Browse files
committed
fixup! git-gui: fix detection of Cygwin
1 parent 038fb0e commit 2bf148c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-gui/git-gui.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ proc is_Cygwin {} {
271271
global _iscygwin
272272
if {$_iscygwin eq {}} {
273273
if {$::tcl_platform(platform) eq {windows} &&
274-
![info exists ::env(MSYSTEM)] &&
275-
$::env(MSYSTEM) ne {MSYS}} {
274+
(![info exists ::env(MSYSTEM)] ||
275+
$::env(MSYSTEM) ne {MSYS})} {
276276
set _iscygwin 1
277277
} else {
278278
set _iscygwin 0

0 commit comments

Comments
 (0)