Code

Create object subdirectories on demand (phase II)
authorLinus Torvalds <torvalds@osdl.org>
Sun, 9 Oct 2005 09:30:17 +0000 (02:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 28 Oct 2005 09:01:42 +0000 (02:01 -0700)
commit9106c097ad87577019544f45fda11c4d73986597
tree2c5d370f099ef78342624e224f9aa4a8b5c68dcd
parentc1aaa5d9ea4a148a964f8c4d6de8bc65f1dc44fd
Create object subdirectories on demand (phase II)

This removes the unoptimization.  The previous round does not mind
missing fan-out directories, but still makes sure they exist, lest
older versions choke on a repository created/packed by it.

This round does not play that nicely anymore -- empty fan-out
directories are not created by init-db, and will stay removed by
prune-packed.  The prune command also removes empty fan-out directories.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-prune.sh
init-db.c
prune-packed.c
t/t0000-basic.sh