bisect view: call gitk if Cygwin's SESSIONNAME variable is set
commit22b3ddd508b022c76bf36bf390691a6f62c996d5
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 2 Jan 2009 18:08:00 +0000 (2 19:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 3 Jan 2009 22:25:27 +0000 (3 14:25 -0800)
tree7c643d35745fae07bf554604311ade92b44c3bf1
parent8104ebfe8276657ee803cca7eb8665a78cf3ef83
bisect view: call gitk if Cygwin's SESSIONNAME variable is set

It seems that Cygwin sets the variable SESSIONNAME when an interactive
desktop session is running, and does not set it when you log in via ssh.

So we can use this variable to determine whether to run gitk or git log
in git bisect view.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh