[PATCH v4] config: add support for http.url.* settings

2013-07-12 Thread Kyle J. McKay
The url value is considered a match to a url if the url value is either an exact match or a prefix of the url which ends on a path component boundary ('/'). So https://example.com/test; will match https://example.com/test; and https://example.com/test/too; but not https://example.com/testextra;.

Re: [PATCH v4] config: add support for http.url.* settings

2013-07-12 Thread Junio C Hamano
Kyle J. McKay mack...@gmail.com writes: The url value is considered a match to a url if the url value is either an exact match or a prefix of the url which ends on a path component boundary ('/'). So https://example.com/test; will match https://example.com/test; and

Re: [PATCH v4] config: add support for http.url.* settings

2013-07-12 Thread Junio C Hamano
Kyle J. McKay mack...@gmail.com writes: + if (!strcmp(sslcertpasswordprotected, key)) { + if (check_matched_len(opt_passwd_req, matchlen)) + return 0; if (git_config_bool(var, value)) ssl_cert_password_required = 1;