git version
- From
David Kågedal <davidk@lysator.liu.se>
- Date
- Sep 15, 2005, 13:47 UTC
- Message-ID
- <u5tzmqeqw6z.fsf@lysator.liu.se>
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.
-- David Kågedal