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

Re: allowing aliases to override builtins to support default options

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:46:20

Heya,

On Fri, Mar 6, 2009 at 23:30, Jay Soffian [off-list ref] wrote:
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...)
Hmmm, maybe we could require marking such an alias somehow, to signify
that you're aware that you're overriding a builtin? Also, what would
we do the alias 'foo' calling 'git foo'? Does it call the original
command, or itself?

-- 
Cheers,

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