[RFC] Do we still need the git command?
- From
- Robert Watson <robert.oo.watson@gmail.com>
- Date
- Sep 23, 2005, 11:24 UTC
- Message-ID
- <72499e3b050923042466011c4f@mail.gmail.com>
Hello,
The function of the git command:
(1) As an alias for git-command. After the recent big tool rename, all "git command" can be replaced by "git-command". (2) Report version number. This can be solved by a git-version command. (3) List interesting commands. This can be taken care by man git(7) or TAB-TAB. Or, add a git-help command to list only interesting commands.
How about get rid of the git command all together?
Cons: (1) Another change of the user interface; (2) Different style from CVS/SVN.
Pros: (1) Consistency. There is only one way to do it. People won't be wondering what's the difference between "git-diff" and "git diff". (2) Performance. One less shell script to parse and one less exec system call. (3) TAB completion. git-whatchanged and other long commands are easier to type with TAB completion. TAB-TAB also shows you all available commands. (4) Do not conflict with GNU Interactive Tools. Make the life of Debian people easier.
What do you think?
Robertoo