Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-pull-script: do the diffstat also for the fast-forward case
[gitweb.git]
/
checkout-cache.c
diff --git
a/checkout-cache.c
b/checkout-cache.c
index d1661eb5f800a4db2e8934e87b710b94662a261a..a1ef9448c35fa76ea036faae1a789f0cb654198d 100644
(file)
--- a/
checkout-cache.c
+++ b/
checkout-cache.c
@@
-39,7
+39,7
@@
static int force = 0, quiet = 0, not_new = 0;
static void create_directories(const char *path)
{
int len = strlen(path);
- char *buf = malloc(len + 1);
+ char *buf =
x
malloc(len + 1);
const char *slash = path;
while ((slash = strchr(slash+1, '/')) != NULL) {