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

Re: [PATCH 3/3] git --help COMMAND brings up the git-COMMAND man-page.

From
Andreas Ericsson <ae@op5.se>
Date
Nov 16, 2005, 00:24 UTC
Message-ID
<437A7C26.5020400@op5.se>
In-Reply-To
<7vsltxeakh.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
>>+
>>+	execlp(PATH_TO_MAN, "man", page, NULL);
>>+}
> 
> 
> If you do PATH_TO_MAN absolute, execl would suffice, but just
> saying "man" and have execlp look for it would be easier to
> manage.
> 
> 
Never even occurred to me, actually. I just re-submitted the patch.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Junio C Hamano
Message 3 of 3 in “git --help COMMAND brings up the git-COMMAND man-page.”
  1. 3/3 git --help COMMAND brings up the git-COMMAND man-page.Andreas Ericsson, Nov 15, 2005
  2. Junio C HamanoNov 15, 2005
  3. Andreas EricssonNov 16, 2005

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.