From: Junio C Hamano Date: Fri, 14 Dec 2007 03:22:43 GMT Subject: Re: git-cvsexportcommit fails for huge commits Message-ID: <7vzlwevu2k.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071212092512.GB20799@coredump.intra.peff.net> Jeff King writes: >> the path at the beginning happens to be longer than 1024 then you will >> run path-less "cvs status"? > > No, read the loop again. The length starts at 0, so we always go through > the loop body once. Sorry, you are right. Perhaps pick a reasonably small but not insanely small value, like 16kB, forget about the atomicity issues for now, as an interim improvement patch?