Git development
 help / color / mirror / Atom feed
* allowing aliases to override builtins to support default options
@ 2009-03-06 22:30 Jay Soffian
  2009-03-06 22:37 ` Sverre Rabbelier
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jay Soffian @ 2009-03-06 22:30 UTC (permalink / raw)
  To: Git Mailing List

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.
Were it to be supported, it should probably have an escape hatch, such
as git --no-alias COMMAND, and it should probably only apply to
porcelains.

Thoughts?

j.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-07  3:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 22:30 allowing aliases to override builtins to support default options Jay Soffian
2009-03-06 22:37 ` Sverre Rabbelier
2009-03-06 23:22 ` Junio C Hamano
2009-03-06 23:51   ` Jay Soffian
2009-03-07  2:37 ` Johannes Schindelin
2009-03-07  2:57   ` Jay Soffian
2009-03-07  3:10     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox