Skip to content

Commit ab3a2bd

Browse files
committed
fixup! git-gui: fix detection of Cygwin
The original fix unfortunately used the *inverted* logic: while we wanted to say "this is Cygwin" when run in MSYS mode, we actually did that when *not* running in MSYS mode. This fixes #410 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 57599f7 commit ab3a2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-gui/git-gui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ proc is_Cygwin {} {
272272
if {$_iscygwin eq {}} {
273273
if {$::tcl_platform(platform) eq {windows} &&
274274
(![info exists ::env(MSYSTEM)] ||
275-
$::env(MSYSTEM) ne {MSYS})} {
275+
$::env(MSYSTEM) eq {MSYS})} {
276276
set _iscygwin 1
277277
} else {
278278
set _iscygwin 0

0 commit comments

Comments
 (0)