From: Michael J Gruber Date: Sat, 22 May 2010 11:37:15 GMT Subject: Re: Use "git pull --ff-only" by default? Message-ID: <4BF7C1EB.8040702@drmicha.warpmail.net> In-Reply-To: Jay Soffian venit, vidit, dixit 21.05.2010 21:13: > On Fri, May 21, 2010 at 11:18 AM, Michael J Gruber > wrote: > >> git config alias.pull 'pull --ff-only' > > That won't work. You cannot override built-in commands. Look at > run.argv() in git.c and notice it doesn't process aliases unless > handle_internal_command() and execv_dashed_external() fail. I was sure it worked at some point. Maybe I'm just so used to my "ci" (read: check-in) alias for "commit" that being able to override that one (to "commit -s" for git.git) fooled my perception. Sorry! Michael