From: Stephen Haberman Date: Sun, 11 Aug 2013 23:38:45 GMT Subject: Re: [PATCH] pull: Allow pull to preserve merges when rebasing. Message-ID: <20130811183845.18381b8c@sh9> In-Reply-To: Hi Andres, > i just realized that there are ambiguities: > pull --rebase (true|false|preserve) foo # pull from remote named > (true|false|preserve), branch foo Yeah. Right now, I did the latter. Around line 125, when parsing "--rebase ", we accept only if it's true, false, or preserve, and shift it off. Otherwise we leave it alone and assume it's a remote name. Without this logic, t5520 fails because it uses "git pull --rebase . copy", which, as you noted, is ambiguous, so "." was showing up as the rebase argument. So, this is technically handled right now, but I'm fine removing the ambiguous "--rebase true|false|preserve" option if that is what is preferred. - Stephen