From: Siddharth Agarwal Date: Fri, 17 Jan 2014 02:47:38 GMT Subject: Re: with git-next, git pull --rebase can print out "fatal: No such ref: ''" for branches without an upstream Message-ID: <52D899CA.5050409@fb.com> In-Reply-To: <20140117022152.GB12444@sigill.intra.peff.net> On 01/16/2014 06:21 PM, Jeff King wrote: > On Thu, Jan 16, 2014 at 05:08:14PM -0800, Siddharth Agarwal wrote: > >> With git-next, where git pull --rebase can print out "fatal: No such >> ref: ''" if git pull --rebase is run on branches without an upstream. > This is already fixed in bb3f458 (rebase: fix fork-point with zero > arguments, 2014-01-09), I think. If I'm reading the patch correctly, that only fixes it for git rebase, not for git pull --rebase. git-pull.sh contains a separate invocation of git merge-base --fork-point.