pickaxe: use textconv for -S counting
[gitweb.git] / credential.c
index 2c400073fac4dac5ba3a1e053733671659e039aa..e54753c75d1c2abf7916f1aa7075d4ada3cfc61f 100644 (file)
@@ -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