git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] [GITK] use "git <command>" instead of "git-<command>"
Date: Thu, 26 Jan 2006 15:26:15 +0100	[thread overview]
Message-ID: <20060126142615.GA12631@informatik.uni-freiburg.de> (raw)
In-Reply-To: <7v3bjcws5o.fsf@assigned-by-dhcp.cox.net>

Junio C Hamano wrote:
> Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de> writes:
> 
> > Otherwise gitk is not able to work with installations using a gitexecdir
> > different from bindir.
> 
> For something like gitk that lives for some time and spawns git
> number of times, it is considered a good practice to:
> 
>  (1) Run "git --exec-path" at the beginning, to learn
>      GIT_EXEC_PATH;
>  (2) Prepend that to PATH;
>  (3) And invoke "git-foo" commands in the rest of the script.
(I remember darkly that was already discussed, but I cannot find the
thread ATM.)

Just to get the patch right:
If
 - PATH=$(HOME)/bin:/usr/bin
 - GIT_EXEC_PATH=/usr/bin

then gitk should use

	PATH=/usr/bin:$(HOME)/bin:/usr/bin

to call git-<command> and

	PATH=$(HOME)/bin:/usr/bin

to call the rest, right?

Best regards
Uwe

-- 
Uwe Zeisberger

fib where fib = 0 : 1 : zipWith (+) fib (tail fib)

      reply	other threads:[~2006-01-26 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25  7:56 [PATCH] [GITK] use "git <command>" instead of "git-<command>" Uwe Zeisberger
2006-01-25  9:52 ` Junio C Hamano
2006-01-26 14:26   ` Uwe Zeisberger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060126142615.GA12631@informatik.uni-freiburg.de \
    --to=zeisberg@informatik.uni-freiburg.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).