Re: Use "git pull --ff-only" by default?
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- May 22, 2010, 11:37 UTC
- Message-ID
- <4BF7C1EB.8040702@drmicha.warpmail.net>
- In-Reply-To
- <AANLkTilfD1jhDcyuK9zAthlW4vRU-15TmBgYlc16W0Ux@mail.gmail.com>
Jay Soffian venit, vidit, dixit 21.05.2010 21:13:
Show 8 quoted lines
> On Fri, May 21, 2010 at 11:18 AM, Michael J Gruber > <git@drmicha.warpmail.net> 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