Re: [PATCH] Allow an alias to start with "-p"
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 24, 2006, 06:32 UTC
- Message-ID
- <7v8xmjh5sv.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0607190125150.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> Now, something like > > [alias] > pd = -p diff > > works as expected.
I like what it wants to do but I am afraid this leads to an unmaintainable code (a micronit that already shows what I mean is that you can say "git --paginate diff", but you cannot say "pd = --paginate diff" in the configuration file).
Is there a cleaner way to do it without duplicating the argument loop of git.c::main()?