From f49fb35d0d58271dc7c93c2752ced0d743fdf12e Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 27 Jun 2005 18:26:11 -0700 Subject: [PATCH] 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. --- init-db.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init-db.c b/init-db.c index 1aa0d72d..6990903b 100644 --- a/init-db.c +++ b/init-db.c @@ -87,5 +87,7 @@ int main(int argc, char **argv) sprintf(path+len, "/%02x", i); safe_create_dir(path); } + strcpy(path+len, "/pack"); + safe_create_dir(path); return 0; } -- 2.11.0