Re: [RFC/PATCH] replace: add --graft option
From: Junio C Hamano <hidden>
Date: 2016-06-15 23:01:15
Jeff King [off-list ref] writes:
On Mon, May 19, 2014 at 10:25:10AM -0700, Junio C Hamano wrote:quoted
The headers up to committer are cast in stone in their ordering, and I do not immediately see how loosening it would be beneficial. Unless you are trying to give users a new way to record exactly the same commit in twenty-four (or more) ways with their own object names, that is ;-)Sorry, I didn't mean to imply that people can do what they want with that ordering. Implementations that reorder the headers are stupid and wrong, and should be fixed.
Yeah, that was the only thing I meant to say, and what you said in the rest of message makes sense to me. I very much like the approach to parse line-by-line, noticing products from stupid and wrong implementations and warning or erroring out against them, while allowing an option to be lenient to help users who want to fix their repositories contaminated with such objects.