All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Organov <osv@javad.com>
To: Andreas Ericsson <ae@op5.se>
Cc: Junio C Hamano <gitster@pobox.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, 07 Dec 2007 15:49:20 +0300	[thread overview]
Message-ID: <87prxi6567.fsf@osv.gnss.ru> (raw)
In-Reply-To: <47593EB2.3020309@op5.se> (Andreas Ericsson's message of "Fri\, 07 Dec 2007 13\:38\:10 +0100")

Andreas Ericsson <ae@op5.se> writes:
> Sergei Organov wrote:
[...]
>> To tell the truth, I'd prefer to just use -M option of man and don't
>> rely on MANPATH at all, so that 'git help' will issue error if there is
>> no documentation installed for this particular version of git.
>>
>
> Does "man -M" work everywhere, or is your patch opening a can of worms
> to get probably-not-needed functionality?

This patch doesn't use "man -M", it tweaks MANPATH instead. Partly because
the rest of 'git' tweaks 'PATH' to get correct executable to be run, and
not run it using explicit absolute path, so tweaking MANPATH is
consistent with the rest of git.

-- 
Sergei.

  reply	other threads:[~2007-12-07 12:55 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 [this message]
2007-12-07 19:29         ` Junio C Hamano
2007-12-07 16:19       ` David Brown
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=87prxi6567.fsf@osv.gnss.ru \
    --to=osv@javad.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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.