Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-06 Thread Michael J Gruber
Jeff King venit, vidit, dixit 05.03.2013 18:38: On Tue, Mar 05, 2013 at 02:44:41PM +, Ævar Arnfjörð Bjarmason wrote: Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-06 Thread Junio C Hamano
Michael J Gruber g...@drmicha.warpmail.net writes: Well, even in the simple case one has to wonder: Why does the user invoke help for co? There are two very likely cases: A) User does not remember what co is aliased to. B) User wants to see the man page. If A is not the case then it's easy

[PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Ævar Arnfjörð Bjarmason
Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if you have checkout aliased to co you won't get: $ git co --help `git co' is aliased to `checkout' But will instead get

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Johannes Sixt
Am 3/5/2013 15:44, schrieb Ævar Arnfjörð Bjarmason: Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if you have checkout aliased to co you won't get: $ git co --help

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason ava...@gmail.com writes: Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if you have checkout aliased to co you won't get: $ git co --help

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Ævar Arnfjörð Bjarmason
On Tue, Mar 5, 2013 at 5:16 PM, Junio C Hamano gits...@pobox.com wrote: Ævar Arnfjörð Bjarmason ava...@gmail.com writes: Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason ava...@gmail.com writes: No objection to the patch in principle though? I.e. not showing you what the alias points to. I am not interested enough to even strongly object to such a change, because it is not reasonable to react with a I know! to the output of git co

Re: [PATCH] help: show manpage for aliased command on git alias --help

2013-03-05 Thread Jeff King
On Tue, Mar 05, 2013 at 02:44:41PM +, Ævar Arnfjörð Bjarmason wrote: Change the semantics of git alias --help to show the help for the command alias is aliased to, instead of just saying: `git alias' is aliased to `whatever' E.g. if you have checkout aliased to co you won't get: