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

Re: allowing aliases to override builtins to support default options

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:21

Hi,

On Fri, 6 Mar 2009, Jay Soffian wrote:
Currently git does not allow aliases to override builtins. I understand 
the reasoning behind this, but I wonder if it's overly conservative.

Most shells support overriding commands with aliases, and I'm not sure 
why git needs to be more conservative than the shell. (Although, I will 
say, I hate when vendors alias rm to "rm -i", etc...)

It seems like this would be an elegant way to support default options.
What you dream about breaks a lot of scripts.

So while it might be nice for you, you would make life of others much, 
much, much harder.  Not nice at all.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help