Re: In tree object, Must the

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]