File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -249,5 +249,7 @@ int main(int argc, char **argv)
249249 }
250250 strcpy (path + len , "/pack" );
251251 safe_create_dir (path );
252+ strcpy (path + len , "/info" );
253+ safe_create_dir (path );
252254 return 0 ;
253255}
Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ test_expect_success \
2828 ' .git/objects should be empty after git-init-db in an empty repo.' \
2929 ' cmp -s /dev/null should-be-empty'
3030
31- # also it should have 257 subdirectories. 258 is counting "objects"
31+ # also it should have 258 subdirectories; 256 fan-out, pack, and info.
32+ # 259 is counting "objects" itself
3233find .git/objects -type d -print > full-of-directories
3334test_expect_success \
34- ' .git/objects should have 257 subdirectories.' \
35- ' test $(wc -l < full-of-directories) = 258 '
35+ ' .git/objects should have 258 subdirectories.' \
36+ ' test $(wc -l < full-of-directories) = 259 '
3637
3738# ###############################################################
3839# Basics of the basics
You can’t perform that action at this time.
0 commit comments