Skip to content

Commit

Permalink
fixup! git-gui: fix detection of Cygwin
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dscho committed Feb 3, 2016
1 parent 57599f7 commit ab3a2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gui/git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ proc is_Cygwin {} {
if {$_iscygwin eq {}} {
if {$::tcl_platform(platform) eq {windows} &&
(![info exists ::env(MSYSTEM)] ||
$::env(MSYSTEM) ne {MSYS})} {
$::env(MSYSTEM) eq {MSYS})} {
set _iscygwin 1
} else {
set _iscygwin 0
Expand Down

0 comments on commit ab3a2bd

Please sign in to comment.