Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/peace-with-crlf'
[gitweb.git]
/
builtin
/
send-pack.c
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index f6e5d643c193d28b14107bf9a9e4ee7aa36ca933..5b9dd6a9d8ebe888c2fc912af3590b92737e7a99 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(&line, stdin
, '\n'
) != EOF)
+ while (strbuf_getline(&line, stdin) != EOF)
argv_array_push(&all_refspecs, line.buf);
strbuf_release(&line);
}