author | Jeff King <peff@peff.net> | |
Mon, 12 Mar 2007 18:58:50 +0000 (14:58 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Mar 2007 19:02:13 +0000 (15:02 -0400) | ||
commit | e7411303861f02a28b76a4c43451c427a3439a5c | |
tree | 938c83cd7380ed132c75f9d8b4f54103883fda64 | tree | snapshot |
parent | 34572ed2c809c2e0b00dc660bdb2dd201c5ff85f | commit | diff |
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>
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 | diff | blob | history |