From: Johannes Schindelin Date: Mon, 10 Mar 2008 18:20:10 GMT Subject: Re: [PATCH] bisect view: check for MinGW32 and MacOSX in addition to X11 Message-ID: In-Reply-To: Hi, On Fri, 15 Feb 2008, Peter Karlsson wrote: > Johannes Schindelin: > > > Can you please test? The we could at least add a "Tested-by:" to the > > commit message. > > When starting from the "Git bash" shell, it works. > > When starting from a Cygwin prompt, it does not work ($MSYSTEM is not > set). Can you please test this patch (both from interactive and ssh'ed sessions)? -- snipsnap -- [PATCH] bisect view: call gitk if Cygwin's SESSIONNAME variable is set It seems that Cygwin sets the variable SESSIONNAME when an interactive session is running, and does not set it when you log in via ssh. Signed-off-by: Johannes Schindelin --- git-bisect.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-bisect.sh b/git-bisect.sh index 2c32d0b..af8f9e3 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -333,7 +333,7 @@ bisect_visualize() { if test $# = 0 then - case "${DISPLAY+set}${MSYSTEM+set}${SECURITYSESSIONID+set}" in + case "${DISPLAY+set}${SESSIONNAME+set}${MSYSTEM+set}${SECURITYSESSIONID+set}" in '') set git log ;; set*) set gitk ;; esac -- 1.5.4.4.643.g7cb9b.dirty