Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb.perl: fix %highlight_ext mappings
[gitweb.git]
/
credential.c
diff --git
a/credential.c
b/credential.c
index 2c400073fac4dac5ba3a1e053733671659e039aa..e54753c75d1c2abf7916f1aa7075d4ada3cfc61f 100644
(file)
--- a/
credential.c
+++ b/
credential.c
@@
-172,6
+172,8
@@
int credential_read(struct credential *c, FILE *fp)
} else if (!strcmp(key, "path")) {
free(c->path);
c->path = xstrdup(value);
+ } else if (!strcmp(key, "url")) {
+ credential_from_url(c, value);
}
/*
* Ignore other lines; we don't know what they mean, but