From: Junio C Hamano Date: Thu, 27 Oct 2005 20:45:26 GMT Subject: Re: [TENTATIVE PATCH] Complain loudly, dying, when a ref is invalid Message-ID: <7voe5a1yft.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > Hi, > > On Thu, 27 Oct 2005, Junio C Hamano wrote: > >> Not that the current loop is any better for that purpose. We >> silently ignore not just dangling ref and ref not storing >> 40-byte hex, but files starting with a period '.', names longer >> than 255 bytes, and unreadable ones, all of which we would >> probably want to warn about in such a tool. > > Okay, how about 'fprintf(stderr, "Warning: ...\n"); continue;' instead of > 'die("...");' then? Yup. That sounds sensible.