projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85c1f33
)
git-init-db: create "pack" subdirectory under objects
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:26:11 +0000
(18:26 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:26:11 +0000
(18:26 -0700)
Don't make the user have to mkdir it just because he's excited about the
new object pack functionality, do it for him.
init-db.c
patch
|
blob
|
history
diff --git
a/init-db.c
b/init-db.c
index
1aa0d72
..
6990903
100644
(file)
--- 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;
}