From: Alex Riesen Date: Thu, 04 Oct 2007 23:03:26 GMT Subject: Re: Question about "git commit -a" Message-ID: <20071004230326.GA3092@steel.home> In-Reply-To: David Soria, Fri, Oct 05, 2007 00:34:11 +0200: > Am Thu, 04 Oct 2007 17:38:25 +0200 schrieb Paolo Ciarrocchi: > > > Hi all, > > I was just wondering why git commit doesn't default to "-a" (yes, it's > > another question that came up during a chat with a mercurial user) and > > I didn't find an answer to that. > > > in fact i do just a git-config alias.commit 'commit -a' in my repository > Either you have a specially modified git (the alias expansion code) or you just said not exactly truth. You can't alias the git commands (see git.c's main).