On Mon, Apr 9, 2012 at 11:25, Junio C Hamano <gitster@xxxxxxxxx> wrote: > "Yi, EungJun" <semtlenori@xxxxxxxxx> writes: > >> If it is true, what happens if it is not ordered? > > "git diff-tree" and "git diff-index" (hence "git diff" frontend when it > walks the tree for comparison) will fail. And JGit and any JGit derived tool (e.g. EGit, Gerrit Code Review) will fail horribly and refuse to process that tree, or worse, will produce incorrect results when fed garbage like an unsorted or incorrectly sorted tree. Tree ordering matters. And that niggly bit about subtrees sorting as though their names end in '/' even though they don't really matters. -- 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