Re: What's in git.git (stable)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 15, 2006, 23:22 UTC
- Message-ID
- <Pine.LNX.4.63.0612160020590.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.64.0612151029080.18171@xanadu.home>
Hi,
On Fri, 15 Dec 2006, Nicolas Pitre wrote:
Show 9 quoted lines
> On Fri, 15 Dec 2006, Jakub Narebski wrote: > > > It would be nice to have some generic place in git config to specify > > default options to git commands (at least for interactive shell). It > > cannot be done using aliases. Perhaps defaults.<command> config variable? > > I would say the alias facility has to be fixed then. > > In bash you can alias "ls" to "ls -l" and it just works.
So, why not use bash aliases?
Frankly, what git aliases try to achieve is a little bit different from bash aliases. Bash knows exactly when a command is interactive, and has a clear advantage there. Git _cannot_ know.
Ciao, Dscho