git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git bisect view's use of DISPLAY environment variable in Cygwin

From
Christian Couder <christian.couder@gmail.com>
Date
Oct 28, 2008, 17:15 UTC
Message-ID
<c07716ae0810281015s47741fdqec4c3bed3313bb6a@mail.gmail.com>
In-Reply-To
<83wsfs1y6v.fsf@kalahari.s2.org>
Hi,
On Tue, Oct 28, 2008 at 5:28 PM, Hannu Koivisto <azure@iki.fi> wrote:
Show 6 quoted lines
> 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.

Previous: Hannu KoivistoNext: Hannu Koivisto
Message 2 of 8 in “git bisect view's use of DISPLAY environment variable in Cygwin”
  1. Hannu KoivistoOct 28, 2008
  2. Christian CouderOct 28, 2008
  3. Hannu KoivistoOct 28, 2008
  4. Christian CouderOct 28, 2008
  5. Hannu KoivistoOct 28, 2008
  6. Hannu KoivistoOct 28, 2008
  7. Johannes SchindelinOct 29, 2008
  8. Hannu KoivistoOct 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.