summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1f3b1ef)
These files can be edited with a DOS editor, leaving CR at the end
of the line if read with strbuf_getline().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
if (!f)
return;
remote->origin = REMOTE_REMOTES;
if (!f)
return;
remote->origin = REMOTE_REMOTES;
- while (strbuf_getline_lf(&buf, f) != EOF) {
+ while (strbuf_getline(&buf, f) != EOF) {
const char *v;
strbuf_rtrim(&buf);
const char *v;
strbuf_rtrim(&buf);