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

Re: [PATCH 2/2] Handle invalid argc gently

From
Junio C Hamano <junkio@cox.net>
Date
Sep 14, 2006, 06:34 UTC
Message-ID
<7vpsdz5542.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060914013146.GD7044@basalt.office.altlinux.org>
"Dmitry V. Levin" <ldv@altlinux.org> writes:
Show 9 quoted lines
> On Wed, Sep 13, 2006 at 06:12:02PM -0700, Junio C Hamano wrote:
>> "Dmitry V. Levin" <ldv@altlinux.org> writes:
>> 
>> > describe, git: Handle argc==0 case the same way as argc==1.
>> 
>> When does one get (ac == 0)?
>
> When one executes something like
> execlp("git", NULL, NULL);
Fair enough.
What is the valid reason to do execlp("git", NULL, NULL)?
Previous: Dmitry V. LevinNext: Dmitry V. Levin
Message 4 of 7 in “Handle invalid argc gently”
  1. 2/2 Handle invalid argc gentlyDmitry V. Levin, Sep 14, 2006
  2. Junio C HamanoSep 14, 2006
  3. Dmitry V. LevinSep 14, 2006
  4. Junio C HamanoSep 14, 2006
  5. Dmitry V. LevinSep 14, 2006
  6. Junio C HamanoSep 14, 2006
  7. Dmitry V. LevinSep 14, 2006

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.