Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ew/svn-1.9.0-auth'
[gitweb.git]
/
builtin
/
notes.c
diff --git
a/builtin/notes.c
b/builtin/notes.c
index e1556896f9ea653f562e073f9ec23bfdcd0d4d7b..9d54934d6c4ccf55ed24304a3da5a6fd0f0206ca 100644
(file)
--- a/
builtin/notes.c
+++ b/
builtin/notes.c
@@
-290,7
+290,7
@@
static int notes_copy_from_stdin(int force, const char *rewrite_cmd)
t = &default_notes_tree;
}
- while (strbuf_getline
(&buf, stdin, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&buf, stdin
) != EOF) {
unsigned char from_obj[20], to_obj[20];
struct strbuf **split;
int err;