Merge branch 'jc/url-match'
commita0a08d48d068551ea819847743d8f5a178b9f8ba
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:50:32 +0000 (9 14:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:50:36 +0000 (9 14:50 -0700)
treeb8c05ed186dfe1da37b515301f9775f18511704e
parentb02f5aeda6f66ac3be9b2e35f9b237d4f1f80d73
parent6667a6ac20747eb56eb2c03c39aceaf6aebbae3c
Merge branch 'jc/url-match'

Allow section.<urlpattern>.var configuration variables to be
treated as a "virtual" section.var given a URL, and use the
mechanism to enhance http.* configuration variables.

This is a reroll of Kyle J. McKay's work.

* jc/url-match:
  builtin/config.c: compilation fix
  config: "git config --get-urlmatch" parses section.<url>.key
  builtin/config: refactor collect_config()
  config: parse http.<url>.<variable> using urlmatch
  config: add generic callback wrapper to parse section.<url>.key
  config: add helper to normalize and match URLs
  http.c: fix parsing of http.sslCertPasswordProtected variable
.gitignore
Documentation/config.txt
Documentation/git-config.txt
Makefile
builtin/config.c
http.c