From: Christian Couder Date: Tue, 28 Oct 2008 17:15:42 GMT Subject: Re: git bisect view's use of DISPLAY environment variable in Cygwin Message-ID: In-Reply-To: <83wsfs1y6v.fsf@kalahari.s2.org> Hi, On Tue, Oct 28, 2008 at 5:28 PM, Hannu Koivisto wrote: > Greetings, > > git bisect view uses gitk if DISPLAY environment variable is set > and git log otherwise. Since gitk doesn't require X server in > Cygwin, that seems like a bit questionable condition in that > environment. Do you know any environment variable that we could use to detect we can use gitk in Cygwin? In this case a patch seems trivial. > I'd prefer it to use gitk unless an option given. I think an > option would be preferable (to DISPLAY= git bisect view) in Unix as > well if you have DISPLAY set but you want it to use git log. You can use "git bisect view log" to use "git log" even if DISPLAY is set. Regards, Christian.