On Jul 19, 2013, at 13:08, Junio C Hamano wrote:
"Kyle J. McKay" writes:
@@ -337,7 +472,7 @@ void http_init(struct remote *remote, const
char *url, int proactive_auth)
http_is_verbose = 0;
- git_config(http_options, NULL);
+ git_config(http_options, (void *)url);
Can
"Kyle J. McKay" writes:
> +static size_t http_option_max_matched_len[OPT_MAX];
> ...
> +static int new_match_is_shorter(size_t matchlen, enum http_option_type opt)
> +{
> + /*
> + * Compare matchlen to the last matched length of option opt and
> + * return true if matchlen is short
The credentials configuration values already support url-specific
configuration items in the form credential..*. This patch
adds similar support for http configuration values.
The value is considered a match to a url if the value
is either an exact match or a prefix of the url which ends on a
p
3 matches
Mail list logo