From: Linus Torvalds Date: Tue, 28 Jun 2005 01:26:11 +0000 (-0700) Subject: git-init-db: create "pack" subdirectory under objects X-Git-Tag: v0.99~153 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f49fb35d0d58271dc7c93c2752ced0d743fdf12e;p=git.git 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 1aa0d72d7..6990903bf 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; }