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

Re: [PATCH] Make GIT-VERSION-GEN tolerate missing git describe command

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Dec 31, 2005, 00:15 UTC
Message-ID
<43B5CDA2.5050408@zytor.com>
In-Reply-To
<dp41ve$v7r$1@sea.gmane.org>
John Ellson wrote:
Show 17 quoted lines
> John Ellson wrote:
> 
>> I think it is probably a bug that "git non_existent_command"
>> returns its error message to stdout without an error, where
>> "git-non_existent_command" behaves differently and does return an
>> error.
> 
> 
> BTW.  Its the old shell-script version of "git" that fails to return an 
> error on non_existent_commands.    The newer C version of "git" 
> correctly returns an error code.
> 
> The reason that this is a sufficiently serious problem to require a fix 
> is that the broken version of "git" is in the 
> git-core-0.99.9a-2.fc5.i386.rpm that is currently in Fedora Core Extras 
> development.
> 

It has been fixed. What's broken is that Fedora Extras still contains 0.99.9a which is totally ancient.

	-hpa
Previous: John Ellson
Message 6 of 6 in “Make GIT-VERSION-GEN tolerate missing git describe command”
  1. Make GIT-VERSION-GEN tolerate missing git describe commandJohn Ellson, Dec 30, 2005
  2. Linus TorvaldsDec 30, 2005
  3. John EllsonDec 30, 2005
  4. Linus TorvaldsDec 30, 2005
  5. John EllsonDec 30, 2005
  6. H. Peter AnvinDec 31, 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.