diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-28 14:00:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-15 10:35:07 -0800 |
commit | 933bea922c202a7ff9b133a5cca4a805a7013aa2 (patch) | |
tree | 6bedbf17b05c0ad28cbe47dadb158e1370462e5c | |
parent | column: read lines with strbuf_getline() (diff) | |
download | tgif-933bea922c202a7ff9b133a5cca4a805a7013aa2.tar.xz |
send-pack: read list of refs with strbuf_getline()
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin/send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 8f9f4f148d..5b9dd6a9d8 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -212,7 +212,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix) argv_array_push(&all_refspecs, buf); } else { struct strbuf line = STRBUF_INIT; - while (strbuf_getline_lf(&line, stdin) != EOF) + while (strbuf_getline(&line, stdin) != EOF) argv_array_push(&all_refspecs, line.buf); strbuf_release(&line); } |