Re: [PATCH] git-web--browse: recognize iTerm as a GUI terminal on OS X
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 27, 2013, 14:43 UTC
- Message-ID
- <7vfvzgrjgz.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAEBDL5Vx0vjAKUeFrXgpx7mYxk8B+OQC5yrEii9RMP-5-Sjhsw@mail.gmail.com>
John Szakmeister <john@szakmeister.net> writes:
Show 14 quoted lines
> Sorry about the repeat Junio, I meant to hit "Reply to All". > > On Mon, Mar 25, 2013 at 5:44 PM, Junio C Hamano <gitster@pobox.com> wrote: > [snip] >> Your patch makes me wonder if >> >> test -n "$TERM_PROGRAM" >> >> without any SECURITYSESSIONID or explicit program name checks should >> suffice, though. > > So, after downloading a couple of other terminals and trying things > out, I think you're suggestion does suffice. Should I send an updated > patch?
If that approach is better than what you originally sent, then yes.
But I do not use OS X, so you may need to pay attention to possible complaints and comments from other Mac users on this list for a while---there may be people who run the program in question without that environment variable.