Git fork

Merge branch 'nl/credential-crlf'

Loosen the parser in the receiving end of the credential protocol
to allow credential helper to terminate lines with CRLF line
ending, as well as LF line ending.

* nl/credential-crlf:
credential: treat CR/LF as line endings in the credential protocol

+1 -1
+1 -1
credential.c
··· 202 202 { 203 203 struct strbuf line = STRBUF_INIT; 204 204 205 - while (strbuf_getline_lf(&line, fp) != EOF) { 205 + while (strbuf_getline(&line, fp) != EOF) { 206 206 char *key = line.buf; 207 207 char *value = strchr(key, '='); 208 208