cache-tree: sort the subtree entries.
authorJunio C Hamano <junkio@cox.net>
Wed, 26 Apr 2006 00:40:02 +0000 (17:40 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Apr 2006 00:40:02 +0000 (17:40 -0700)
commit61fa30972c45e73d39c81d27af9eeacbda7531c9
tree56d9e8d5ff0f3da0a12b513a8432d0e33f2c4c2d
parent53dc3f3e8069283924fcb7f1d538e2d1b03ec3bb
cache-tree: sort the subtree entries.

Not that this makes practical performance difference; the kernel tree
for example has 200 or so directories that have subdirectory, and the
largest ones have 57 of them (fs and drivers).  With a test to apply
600 patches with git-apply and git-write-tree, this did not make more
than one per-cent of a difference, but it is a good cleanup.

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache-tree.c