summaryrefslogtreecommitdiff
path: root/t/t0000-basic.sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-10-09 09:30:17 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-28 09:01:42 (GMT)
commit9106c097ad87577019544f45fda11c4d73986597 (patch)
tree2c5d370f099ef78342624e224f9aa4a8b5c68dcd /t/t0000-basic.sh
parentc1aaa5d9ea4a148a964f8c4d6de8bc65f1dc44fd (diff)
downloadgit-9106c097ad87577019544f45fda11c4d73986597.zip
git-9106c097ad87577019544f45fda11c4d73986597.tar.gz
git-9106c097ad87577019544f45fda11c4d73986597.tar.bz2
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>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-xt/t0000-basic.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 5c5f854..dff7d69 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -28,12 +28,12 @@ test_expect_success \
'.git/objects should be empty after git-init-db in an empty repo.' \
'cmp -s /dev/null should-be-empty'
-# also it should have 258 subdirectories; 256 fan-out anymore, pack, and info.
-# 259 is counting "objects" itself
+# also it should have 2 subdirectories; no fan-out anymore, pack, and info.
+# 3 is counting "objects" itself
find .git/objects -type d -print >full-of-directories
test_expect_success \
- '.git/objects should have 258 subdirectories.' \
- 'test $(wc -l < full-of-directories) = 259'
+ '.git/objects should have 3 subdirectories.' \
+ 'test $(wc -l < full-of-directories) = 3'
################################################################
# Basics of the basics