From: Jaime Soriano Pastor Date: Thu, 21 Aug 2014 13:49:02 GMT Subject: Re: [PATCH] Check order when reading index Message-ID: In-Reply-To: <1408628606-12975-1-git-send-email-jsorianopastor@gmail.com> On Thu, Aug 21, 2014 at 3:43 PM, Jaime Soriano Pastor wrote: > + if (!ce_stage(ce)) > + die("Multiple stage entries for merged file '%s'", > + ce->name); This case can be provoked by "git update-index --index-info" as shown in the patch with the added test, maybe it should be only a warning. And add too some variation of the patches in this thread to make the same command able to fix the situation.