Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Strbuf API extensions and fixes.
[gitweb.git]
/
fetch.c
diff --git
a/fetch.c
b/fetch.c
index 811be87a3c1e0d14d9f2b37650d56575b49caa22..dd6ed9e41cf7ebbd304568f422da0b14a5e01d27 100644
(file)
--- a/
fetch.c
+++ b/
fetch.c
@@
-218,7
+218,7
@@
int pull_targets_stdin(char ***target, const char ***write_ref)
int targets = 0, targets_alloc = 0;
struct strbuf buf;
*target = NULL; *write_ref = NULL;
- strbuf_init(&buf);
+ strbuf_init(&buf
, 0
);
while (1) {
char *rf_one = NULL;
char *tg_one;