Re: [PATCH] Let git-help prefer man-pages installed with this version of git
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 7, 2007, 19:29 UTC
- Message-ID
- <7vbq921eyc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <871w9y7mei.fsf@osv.gnss.ru>
Sergei Organov <osv@javad.com> writes:
> First, I don't think you need to clarify like this. It is just > implementation detail of git-help that it uses 'man', and thus > implicitly relies on MANPATH. The essential thing has been already > stated above: git-help should show correct documentation.
Ok, this is a good argument for the patch. With Christian's enhancements, we will handle -i(nfo) and -w(eb) and we will tell the "info" and "html" browsers where the documentation we installed for the running instance of git is, so we should do so consistently for "manpage" browser (aka "man"). You are right.