Re: git version

From: David Kågedal <davidk@lysator.liu.se>
Date: 2005-09-16 01:22:05
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.

-- 
David Kågedal

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 16 01:28:21 2005

This archive was generated by hypermail 2.1.8 : 2005-09-16 01:28:23 EST