Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cc/doc-recommend-performance-trace-to-file' into maint
[gitweb.git]
/
credential.c
diff --git
a/credential.c
b/credential.c
index b146ad8481b133892a542691c7e36f5e7974cfdc..7d6501d190a529933d501e7f7006a70c4897282b 100644
(file)
--- a/
credential.c
+++ b/
credential.c
@@
-142,7
+142,7
@@
int credential_read(struct credential *c, FILE *fp)
{
struct strbuf line = STRBUF_INIT;
- while (strbuf_getline
(&line, fp, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&line, fp
) != EOF) {
char *key = line.buf;
char *value = strchr(key, '=');