Re: [PATCH] Move all dashed form git commands to libexecdir
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 30, 2007, 20:01 UTC
- Message-ID
- <7vve7jqz92.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071130150948.GA22095@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
> On Fri, Nov 30, 2007 at 08:18:16AM +0100, Andreas Ericsson wrote: > ... >> It would provide a ui inconsistency between platforms. Several people >> pointed that out. It's decidedly a Bad Thing. > > Which, as I said, I have already addressed (and which Linus has also > expanded upon in this thread). Since those hardlinks would be hidden > from users who did not go to some trouble to find them, there will not > be inconsistency problems.
I already can see exchanges in the user community after such a change you propose would happen:
Newbie: Ay! why doesn't git-commit work anymore?
Jeff: Stupid Junio and Linus decided that you should not use dash form
but say "git commit" instead. Newbie: But my fingers are trained and I like the "git-<tab>"
completion. Jeff: If you really like that, here is a hidden trick. Add
/usr/libexec/git-core/ to your PATH.Newbie: Ah, that worked, thanks.
A few days later...
Newbie: Jeff, your trick does not work for my coworker. He also has
the latest git. His installation does not even have that
directory! What gives?Jeff: Ah, sorry, that trick works for some platforms but not others.
Newbie: Stupid inconsistency. Who suggested that?