Re: [PATCH] show help message also for aliased commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Sudowe <patrick.sudowe@xxxxxxxxxxxxxx> writes:

> git help 'alias' currently only shows the actual git command
> 'alias' refers to. This patch changes the behavior so that
> the help for the actual git command is shown.

I somehow think this is a horrible change.

I have "[alias] lg = log --oneline --no-merges" and I do appreciate that
it tells the expansion, because I also have other similar ones like
"[alias] lgm = log --notes-ref=amlog", "lgf", etc.

I don't want the expansion to be erased by manual page of "log";
typically the output from man is piped to less(1).

Besides, I may not know what "log" does, but at least I studied what
options it takes when coming up with the hardcoded leading options
already.  I don't want to see the manual page of "log" by default when I
ask git about "lg".  If git tells me "lg" expands to "log --oneline", and
I do not remember what other options "log" takes, I'll ask git myself
about "log", not "lg".

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]