From: Junio C Hamano Date: Wed, 29 Jun 2016 20:43:21 GMT Subject: Re: git pull --rebase should use fast forward merge if possible Message-ID: In-Reply-To: On Wed, Jun 29, 2016 at 1:40 PM, Stefan Beller wrote: >> + merge_head = lookup_commit_reference(merge_heads.sha1[0]); > > The crashes for merge_heads.nr == 0. > (I did not inspect code further up if this is caught before, I think > it would trigger if > you and the remote are on an initial commit with no parents?) Perhaps you can inspect code before you start typing? die_no_merge_candidates() would have triggered, I would imagine. Note that I won't be applying this without test updates and proper log message, so no need to worry about the style yet ;-)