Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: speed up project listing on large work trees by limiting find depth
[gitweb.git]
/
builtin-fetch--tool.c
diff --git
a/builtin-fetch--tool.c
b/builtin-fetch--tool.c
index 349b59c25865fb8ea3946c4176cc2aa08869af1e..1e43d792216248c1abe3504c239ccd325f8d5ef1 100644
(file)
--- a/
builtin-fetch--tool.c
+++ b/
builtin-fetch--tool.c
@@
-10,7
+10,7
@@
static char *get_stdin(void)
if (strbuf_read(&buf, 0, 1024) < 0) {
die("error reading standard input: %s", strerror(errno));
}
- return strbuf_detach(&buf);
+ return strbuf_detach(&buf
, NULL
);
}
static void show_new(enum object_type type, unsigned char *sha1_new)