From: Jaime Soriano Pastor Date: Mon, 18 Aug 2014 17:23:29 GMT Subject: Re: [PATCH] read-cache.c: Ensure unmerged entries are removed Message-ID: In-Reply-To: Yes, --index-info worked for this purpouse, thanks! https://github.com/jsoriano/git/blob/remove-unmerged-index-entry/t/t9904-unmerged-file-with-merged-entry.sh#L25 I'll try to send the patches to the mailing lists later today or tomorrow. On Mon, Aug 18, 2014 at 6:34 PM, Junio C Hamano wrote: > Jaime Soriano Pastor writes: > >> I'd like to add some tests too for this, but I don't know how to >> reproduce this state with git commands only, is there any way to add >> entries to the index without checkings? > > Perhaps feeding "update-index --index-info" four input lines would work?