git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Let git-help prefer man-pages installed with this version of git

From
SOSergei Organov <osv@javad.com>
Date
Dec 7, 2007, 10:16 UTC
Message-ID
<87d4ti7qu1.fsf@osv.gnss.ru>
In-Reply-To
<Pine.LNX.4.64.0712062107520.21625@wbgn129.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 10 quoted lines
> Hi,
>
> On Thu, 6 Dec 2007, Sergei Organov wrote:
>
>> Prepend $(prefix)/share/man to the MANPATH environment variable before 
>> invoking 'man' from help.c:show_man_page().
>
> This commit message is severely lacking.  Why would you _ever_ prefer the 
> installed man pages before invoking "man", which should find them
> anyway?

Obviously because you want manual pages corresponding to the version of git you are invoking, not any random version of man-pages man may find by default.

-- 
Sergei.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 10 in “Let git-help prefer man-pages installed with this version of git”
  1. Let git-help prefer man-pages installed with this version of gitSergei Organov, Dec 6, 2007
  2. Johannes SchindelinDec 6, 2007
  3. Sergei OrganovDec 7, 2007
  4. Junio C HamanoDec 7, 2007
  5. Sergei OrganovDec 7, 2007
  6. Andreas EricssonDec 7, 2007
  7. Sergei OrganovDec 7, 2007
  8. Junio C HamanoDec 7, 2007
  9. David BrownDec 7, 2007
  10. David BrownDec 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.