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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> 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.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux