]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9300-fast-import.sh
New fast-import test case for valid tree sorting
authorJeff King <peff@peff.net>
Mon, 12 Mar 2007 18:58:50 +0000 (14:58 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 12 Mar 2007 19:02:13 +0000 (15:02 -0400)
commite7411303861f02a28b76a4c43451c427a3439a5c
tree938c83cd7380ed132c75f9d8b4f54103883fda64
parent34572ed2c809c2e0b00dc660bdb2dd201c5ff85f
New fast-import test case for valid tree sorting

The Git tree sorting convention is more complex than just the name,
it needs to include the mode too to make sure trees sort as though
their name ends with "/".

This is a simple test case that verifies fast-import keeps the tree
ordering correct after editing the same tree twice in a single
input stream.  A recent proposed patch series (that has not yet
been applied) will cause this test to fail, due to a bug in the
way the series handles sorting within the trees.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
t/t9300-fast-import.sh