Re: allowing aliases to override builtins to support default options
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 7, 2009, 02:37 UTC
- Message-ID
- <alpine.DEB.1.00.0903070336200.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <76718490903061430s2fbea2dfibe06282fd22b1588@mail.gmail.com>
Hi,
On Fri, 6 Mar 2009, Jay Soffian wrote:
Show 8 quoted lines
> 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