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., take two

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Nov 16, 2005, 21:53 UTC
Message-ID
<437BAA5F.5060608@zytor.com>
In-Reply-To
<7vbr0law3z.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 11 quoted lines
> "H. Peter Anvin" <hpa@zytor.com> writes:
> 
>>The way this made it into the actual tree was to call /usr/bin/man, but 
>>still using execlp().  This is clearly bogus.  There *ARE* good reasons 
>>to use PATH resolutions for this, since man is one of the interactive 
>>commands the user may want to wrapper.
> 
> Oh, that was my call, so please do not blame Andreas.
> I just sent out a proposed patch to address all the points
> discussed on the list for the last several hours.
> 
FWIW, I rarely blame people for bad code; *everyone* does something 
stupid every now and then, and for most of us, far more often than that. 
  "This piece of code is stupid" != "the author of this piece of code is 
stupid", a distinction which unfortunately often gets lost.

I say "rarely", because there are of course a small number of people who *consistently* produce crap. However, even they occationally produce something useful -- it's just not that often, and one has to carefully review it first. With sufficient thrust pigs fly just fine[*], and heck, even RBJ even occationally says something correct.

	-hpa

[*] It is, however, not necessarily a good idea. It can be dangerous for the people on the ground, and annoys the pig.

Previous: Junio C HamanoNext: Andreas Ericsson
Message 7 of 9 in “git --help COMMAND brings up the git-COMMAND man-page., take two”
  1. 3/3 git --help COMMAND brings up the git-COMMAND man-page., take twoAndreas Ericsson, Nov 16, 2005
  2. H. Peter AnvinNov 16, 2005
  3. Andreas EricssonNov 16, 2005
  4. git wrapper: basic fixes.Junio C Hamano, Nov 16, 2005
  5. Johannes SchindelinNov 16, 2005
  6. Junio C HamanoNov 16, 2005
  7. H. Peter AnvinNov 16, 2005
  8. Andreas EricssonNov 16, 2005
  9. H. Peter AnvinNov 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.