git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v7 4/4] config: allow http.<url>.* any user matching

From
Kyle J. McKay <mackyle@gmail.com>
Date
Jul 22, 2013, 12:52 UTC
Message-ID
<A7388818-53EA-4D77-9342-B15D74495811@gmail.com>
In-Reply-To
<7va9lfqi3b.fsf@alter.siamese.dyndns.org>
On Jul 21, 2013, at 22:28, Junio C Hamano wrote:
Show 16 quoted lines
> "Kyle J. McKay" <mackyle@gmail.com> writes:
>
>> diff --git a/test-url-normalize.c b/test-url-normalize.c
>> index d68312d..f325571 100644
>> --- a/test-url-normalize.c
>> +++ b/test-url-normalize.c
>> @@ -9,7 +9,7 @@ int main()
>
> It looks like that this program could also drive http_options()
> directly, or alternatively make a call
>
> 	git_config(http_options, &info);
>
> in its main() to let the config parser do its work, to make sure
> that the machinery picks up the right values from the desired entry
> in the configuration file, with a bit more effort.
OK.
Show 13 quoted lines
> OK, so if there is a configuration for a generic URL that is longer,
> it defeats a shorter URL with a specific username, e.g. when talking
> to host.xz/name as kyle, with configuration for these two keys
> exist:
>
> 	scheme://kyle@host.xz/path
>        scheme://host.xz/path/name
>
> the value for the latter one is used.
>
> I am not complaining; just making sure that is what we want to give
> users, as it was not quite clear in the Documentation/config.txt
> part of the patch.
Will add example to Documentation/config.txt to make it clearer.
Previous: Junio C Hamano
Message 11 of 11 in “config: add support for http.<url>.* settings”
  1. 0/4 config: add support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  2. 1/4 config: add support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  3. 2/4 config: improve support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  4. 3/4 tests: add new test for the url_normalize functionKyle J. McKay, Jul 22, 2013
  5. Junio C HamanoJul 22, 2013
  6. Kyle J. McKayJul 22, 2013
  7. Junio C HamanoJul 22, 2013
  8. Kyle J. McKayJul 22, 2013
  9. 4/4 config: allow http.<url>.* any user matchingKyle J. McKay, Jul 22, 2013
  10. Junio C HamanoJul 22, 2013
  11. Kyle J. McKayJul 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.