OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1536dd9
)
send-pack: read list of refs with strbuf_getline()
author
Junio C Hamano
<gitster@pobox.com>
Wed, 28 Oct 2015 21:00:59 +0000
(14:00 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 15 Jan 2016 18:35:07 +0000
(10:35 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/send-pack.c
patch
|
blob
|
history
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index
8f9f4f1
..
5b9dd6a
100644
(file)
--- 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);
}