Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout-index: handle "--no-prefix" option
[gitweb.git]
/
builtin
/
check-mailmap.c
diff --git
a/builtin/check-mailmap.c
b/builtin/check-mailmap.c
index eaaea546d30871ad7442456f7eec4ae849f68374..cf0f54f6b92ec8db45158c43ad164413ec4a1333 100644
(file)
--- a/
builtin/check-mailmap.c
+++ b/
builtin/check-mailmap.c
@@
-54,7
+54,7
@@
int cmd_check_mailmap(int argc, const char **argv, const char *prefix)
if (use_stdin) {
struct strbuf buf = STRBUF_INIT;
- while (strbuf_getline
(&buf, stdin, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&buf, stdin
) != EOF) {
check_mailmap(&mailmap, buf.buf);
maybe_flush_or_die(stdout, "stdout");
}