From: David Brown <git@davidb.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Sergei Organov <osv@javad.com>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>,
git@vger.kernel.org
Subject: Re: [PATCH] Let git-help prefer man-pages installed with this version of git
Date: Fri, 7 Dec 2007 08:19:19 -0800 [thread overview]
Message-ID: <20071207161919.GA25490@old.davidb.org> (raw)
In-Reply-To: <7vodd23i1v.fsf@gitster.siamese.dyndns.org>
On Fri, Dec 07, 2007 at 02:39:24AM -0800, Junio C Hamano wrote:
> Usually, if a user has his own version of git and regularly uses it
> by having the non-system executable directory (e.g. $HOME/bin/git)
> early in his $PATH, its corresponding documentation would also be in
> a non-system documentation directory (e.g. $HOME/man) early in his
> $MANPATH, and this change is a no-op. The only case this change
> matters is where the user installs his own git outside of his $PATH
> and $MANPATH, and explicitly runs his git executable
> (e.g. "$HOME/junk/git-1.5.4/bin/git diff").
>
>When you clarify it this way, the change does not look as useful
>anymore, does it? How typical would that use be, to run your git
>executable by always naming it by path without relying on $PATH
>environment variable?
Or, git gets installed out of path in its own tree, and then the 'git'
executable itself is symlinked somewhere into the path. I know this
happens, because this is what IT ended up doing.
It's also fairly easy to add a new executable path, and forget to add a new
manpath directory.
Dave
next prev parent reply other threads:[~2007-12-07 16:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 18:33 [PATCH] Let git-help prefer man-pages installed with this version of git Sergei Organov
2007-12-06 20:09 ` Johannes Schindelin
2007-12-07 10:16 ` Sergei Organov
2007-12-07 10:39 ` Junio C Hamano
2007-12-07 11:51 ` Sergei Organov
2007-12-07 12:38 ` Andreas Ericsson
2007-12-07 12:49 ` Sergei Organov
2007-12-07 19:29 ` Junio C Hamano
2007-12-07 16:19 ` David Brown [this message]
2007-12-07 16:22 ` David Brown
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=20071207161919.GA25490@old.davidb.org \
--to=git@davidb.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=osv@javad.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.