X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=credential.c;h=e54753c75d1c2abf7916f1aa7075d4ada3cfc61f;hb=29499c0b2741cc2ea13b78a342048bad928dfe2a;hp=2c400073fac4dac5ba3a1e053733671659e039aa;hpb=8fc824f397b2d10a2643a6177ff03c56b1017673;p=~andy%2Fgit diff --git a/credential.c b/credential.c index 2c400073f..e54753c75 100644 --- 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