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

Re: [PATCH] Change GIT-VERSION-GEN to call git commands with "git" not "git-".

From
Junio C Hamano <junkio@cox.net>
Date
May 23, 2006, 01:20 UTC
Message-ID
<7vpsi58rkq.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<BAYC1-PASMTP09B22AA86724B4F2C01F7FAE9A0@CEZ.ICE>
Sean <seanlkml@sympatico.ca> writes:
Show 6 quoted lines
> GIT-VERSION-GEN can incorrectly return a default version of
> "v1.3.GIT" because it tries to execute git commands using the
> "git-cmd" format that expects all git commands to be in the $PATH.
> Convert these to  "git cmd" format so that a proper answer is
> returned even when the git commands have been moved out of the
> $PATH and into a $gitexecdir.

IIRC, the reason we spelled it as "git-describe" with a dash is ancient git wrapper said "not a git command" when given "describe" which it did not understand without failing.

I think it has been long enough since we introduced "git describe", so this would be OK.

Previous: Sean
Message 3 of 3 in “Change GIT-VERSION-GEN to call git commands with "git" not "git-".”
  1. Change GIT-VERSION-GEN to call git commands with "git" not "git-".Sean, May 22, 2006
  2. Install git builtins into gitexecdir rather than bindir.Sean, May 22, 2006
  3. Junio C HamanoMay 23, 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.