Re: [PATCH] Move all dashed form git commands to libexecdir
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Nov 29, 2007, 23:30 UTC
- Message-ID
- <alpine.LFD.0.9999.0711291527090.8458@woody.linux-foundation.org>
- In-Reply-To
- <20071129231444.GA9616@coredump.intra.peff.net>
On Thu, 29 Nov 2007, Jeff King wrote:
> > Yes, I am fine with the user having to go to extra lengths to use the > dash forms (like adding $(libexecdir) to their path), which I think > should address your consistency concern.
I agree. If we actually start moving the subcommands into a separate directory, I suspect scripts will be fixed up soon enough. Of course people *can* do it by just adding the path, but more likely, we'll just see people start doign "git xyz" instead of "git-xyz".
And from a consistency standpoint, that would be a *good* thing. There are many reasons why the git-xyz format *cannot* be the "consistent" form (ranging from the flags like --bare and -p to just aliases), so encouraging people to move to "git xyz" is just a good idea.
Yeah, yeah, the man-pages need the "git-xyz" form, but on the other hand, rather than "man git-xyz", you can just do "git help xyz" instead, and now you're consistently avoiding the dash again!
Linus