From: Junio C Hamano Date: Fri, 01 Nov 2013 22:44:52 GMT Subject: Re* [BUG?] "error: cache entry has null sha1" Message-ID: <1383345895-23341-1-git-send-email-gitster@pobox.com> In-Reply-To: <20131031172116.GA19428@sigill.intra.peff.net> Jeff King writes: > On Thu, Oct 31, 2013 at 01:15:39PM -0400, Jeff King wrote: > >> On Thu, Oct 31, 2013 at 10:11:49AM -0700, Junio C Hamano wrote: >> >> > - Try to discard >> > >> > $ git am --abort >> > error: cache entry has null sha1: remote-curl.c >> > fatal: unable to write new index file >> > >> > This should not happen, no? >> > >> > "git reset --hard" will remove the funnies, but still... >> >> I ran into this recently, too. Isn't it just the twoway_merge bug we >> were discussing here: >> >> http://thread.gmane.org/gmane.comp.version-control.git/202440/focus=212316 >> >> I don't think we ever actually applied a fix. > > Also, the followup: > > http://thread.gmane.org/gmane.comp.version-control.git/217172 OK, so it appears that we sort of agreed that the pieces of patches in the thread was good at $gmane/217300, but somehow I ended up veering into a tangent from there and forgot about the topic X-