Jeff King <peff@xxxxxxxx> 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? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html