Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Add git-local-pull.
[gitweb.git]
/
init-db.c
diff --git
a/init-db.c
b/init-db.c
index dad06351ca35d0d2f68cd9e719c49805386f96fa..83f95e8b926f4fd28e0db0ccfc4f040d4172ee8a 100644
(file)
--- a/
init-db.c
+++ b/
init-db.c
@@
-34,7
+34,7
@@
int main(int argc, char **argv)
fprintf(stderr, "defaulting to local storage area\n");
}
len = strlen(sha1_dir);
- path = malloc(len + 40);
+ path =
x
malloc(len + 40);
memcpy(path, sha1_dir, len);
safe_create_dir(sha1_dir);