From f49fb35d0d58271dc7c93c2752ced0d743fdf12e Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 27 Jun 2005 18:26:11 -0700 Subject: 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. diff --git a/init-db.c b/init-db.c index 1aa0d72..6990903 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; } -- cgit v0.10.2-6-g49f6