summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-20 09:05:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-20 17:59:28 (GMT)
commitd57306c7945becfba70d3139af0a3a8f525a6bb5 (patch)
tree8f1badb9e2569a4c349ab9c20cd8ac8dbc2edfd4 /init-db.c
parentb909a15edef8c79b2b045bd90d25e19ea58f299c (diff)
downloadgit-d57306c7945becfba70d3139af0a3a8f525a6bb5.zip
git-d57306c7945becfba70d3139af0a3a8f525a6bb5.tar.gz
git-d57306c7945becfba70d3139af0a3a8f525a6bb5.tar.bz2
Create objects/info/ directory in init-db.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'init-db.c')
-rw-r--r--init-db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init-db.c b/init-db.c
index 1fb3f7f..50b16b3 100644
--- a/init-db.c
+++ b/init-db.c
@@ -249,5 +249,7 @@ int main(int argc, char **argv)
}
strcpy(path+len, "/pack");
safe_create_dir(path);
+ strcpy(path+len, "/info");
+ safe_create_dir(path);
return 0;
}