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

Re: [RFC PATCH 2/2] Teach git-blame --gui how to start git-gui blame

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 22, 2007, 05:20 UTC
Message-ID
<7vps3oa7kf.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<20070622044716.GG17393@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 15 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
>> This is only minor nuisance, but can we do something about this?
>> 
>>  $ git gui --version
>>  Application initialization failed: no display name and no $DISPLAY environment variable
>> 
>> I know it is from wish, not you, so I wouldn't insist, though.
>
> Actually that should be fixable.
>
> Should be as simple as using a Bourne shell script up front to
> check for "z$1" = zversion || "z$1" = z--version, and if so dump
> back the version, otherwise exec wish.  This is actually quite easy
> and won't change things for existing users.  I'll put a patch into
> maint tonight for it.

If this makes life any harder to people on Windows, especially minGW, I would suggest against it.

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 6 of 8 in “Teach git-blame --gui how to start git-gui blame”
  1. 2/2 Teach git-blame --gui how to start git-gui blameShawn O. Pearce, Jun 21, 2007
  2. Junio C HamanoJun 21, 2007
  3. Shawn O. PearceJun 22, 2007
  4. Junio C HamanoJun 22, 2007
  5. Shawn O. PearceJun 22, 2007
  6. Junio C HamanoJun 22, 2007
  7. Shawn O. PearceJun 22, 2007
  8. Johannes SixtJun 22, 2007

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.