Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fix testsuite to tolerate spaces in path
[gitweb.git]
/
init-db.c
diff --git
a/init-db.c
b/init-db.c
index 2a4aa3c1965f0e2323a1ec3a4f66c0c1206c7d31..ca6fa4d4200faaf208e5c6c5af5f009cc4432a09 100644
(file)
--- a/
init-db.c
+++ b/
init-db.c
@@
-281,10
+281,6
@@
int main(int argc, char **argv)
memcpy(path, sha1_dir, len);
safe_create_dir(sha1_dir);
- for (i = 0; i < 256; i++) {
- sprintf(path+len, "/%02x", i);
- safe_create_dir(path);
- }
strcpy(path+len, "/pack");
safe_create_dir(path);
strcpy(path+len, "/info");