diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 18:26:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 18:26:11 -0700 |
commit | f49fb35d0d58271dc7c93c2752ced0d743fdf12e (patch) | |
tree | a377c08a9978292c5962788a1d6e5bf475795462 /init-db.c | |
parent | 85c1f337be49eaa9a22e42a1c9958deef5ab57c3 (diff) | |
download | git-f49fb35d0d58271dc7c93c2752ced0d743fdf12e.tar.gz git-f49fb35d0d58271dc7c93c2752ced0d743fdf12e.tar.xz |
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.
Diffstat (limited to 'init-db.c')
-rw-r--r-- | init-db.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |