Skip to content

Commit f49fb35

Browse files
author
Linus Torvalds
committed
git-init-db: create "pack" subdirectory under objects
Don't make the user have to mkdir it just because he's excited about the new object pack functionality, do it for him.
1 parent 85c1f33 commit f49fb35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init-db.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,7 @@ int main(int argc, char **argv)
8787
sprintf(path+len, "/%02x", i);
8888
safe_create_dir(path);
8989
}
90+
strcpy(path+len, "/pack");
91+
safe_create_dir(path);
9092
return 0;
9193
}

0 commit comments

Comments
 (0)