Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: shorten glob error message
[gitweb.git]
/
credential-store.c
diff --git
a/credential-store.c
b/credential-store.c
index 54c4e047373757598f6de7bf994251f0169b2b38..57141679abdaa804282a0cc2d808e7c6687d924a 100644
(file)
--- a/
credential-store.c
+++ b/
credential-store.c
@@
-23,7
+23,7
@@
static int parse_credential_file(const char *fn,
return found_credential;
}
- while (strbuf_getline
(&line, fh, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&line, fh
) != EOF) {
credential_from_url(&entry, line.buf);
if (entry.username && entry.password &&
credential_match(c, &entry)) {