Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH] Allow an alias to start with "-p"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:34

Possibly related (same subject, not in this thread)

Johannes Schindelin [off-list ref] writes:
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()?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help