Code

web--browse: fix Mac OS X GUI detection for 10.6
authorHeiko Voigt <hvoigt@hvoigt.net>
Mon, 14 Sep 2009 08:49:01 +0000 (10:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Sep 2009 09:27:25 +0000 (02:27 -0700)
commit20f34902d154f390ebaa7eed7f42ad14140b8acb
tree83f5eaeda9af5d0afbdb9159fb3170b5312bd5be
parent39c448c19de7269e6130b6e183645c5b9afe0579
web--browse: fix Mac OS X GUI detection for 10.6

Since OS X 10.6 the variable $SECURITYSESSIONID does not exist anymore,
so lets look for the $TERM_PROGRAM variable as backup.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-web--browse.sh