Re: [PATCH] ls-remote: a lone "-h" is asking for help
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Sep 16, 2011, 19:09 UTC
- Message-ID
- <CAGdFq_h474OrLzP+CHj_eSdSp53n8x7jz1ORT16dOhvRdQMP+g@mail.gmail.com>
- In-Reply-To
- <7vobykfj7g.fsf@alter.siamese.dyndns.org>
Heya,
On Fri, Sep 16, 2011 at 20:14, Junio C Hamano <gitster@pobox.com> wrote:
> It does not give a short-help for the command. Instead because "-h" is a > synonym for "--heads", it runs "git ls-remote --heads", and because there > is no remote specified on the command line, we run it against the default > "origin" remote, hence end up doing the same as
Should we really have "-h" as a short for anything other than "--help" in the first place?
-- Cheers, Sverre Rabbelier