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

Re: git version

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Sep 15, 2005, 16:02 UTC
Message-ID
<43299B1E.1050407@gmail.com>
In-Reply-To
<u5tslw6qrtu.fsf@lysator.liu.se>
David Kågedal wrote:
Show 16 quoted lines
> A Large Angry SCM <gitzilla@gmail.com> writes:
> 
>>David Kågedal wrote:
>>>Why is "git --version" called so, and not "git version"?  It works
>>>just like any other command, except that it is implemented internally
>>>in the git script.
>>>The "git" command takes a subcommand that does some action or simply
>>>prints some informational output.  The "version" subcommand fits
>>>nicely into that, and I don't see any need to prepend "--" to it.
>>>
>>Consistency with other (non Git) commands was why I suggested the 
>>"--version" form when the discussion happened.
> 
> You mean, like, "cvs version"?
> 
> Actually, cvs has both, with different semantics.
More along the lines of *ALL* the GNU utilities.
Previous: David Kågedal
Message 4 of 4 in “git version”
  1. David KågedalSep 15, 2005
  2. A Large Angry SCMSep 15, 2005
  3. David KågedalSep 15, 2005
  4. A Large Angry SCMSep 15, 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.