Re: [PATCH v8 4/4] config: allow http.<url>.* any user matching
- From
Jeff King <peff@peff.net>
- Date
- Jul 24, 2013, 06:44 UTC
- Message-ID
- <20130724064447.GB30074@sigill.intra.peff.net>
- In-Reply-To
- <7dfaadb69accede33b88ae2d9e47a48@f74d39fa044aa309eaea14b9f57fe79>
On Mon, Jul 22, 2013 at 05:56:44AM -0700, Kyle J. McKay wrote:
Show 10 quoted lines
> + matches a url if it refers to the same scheme, host and port and the > + path portion is an exact match or a prefix that matches at a "/" > + boundary. If <url> does not include a user name, it will match a url > + with any username otherwise the user name must match as well (the > + password part, if present in the url, is always ignored). Longer <url> > + path matches take precedence over shorter matches no matter what order > + they occur in. For example, if both "https://user@example.com/path" and > + "https://example.com/path/name" are used as a config <url> value and > + then "https://user@example.com/path/name/here" is passed to a git > + command, the settings in the "https://example.com/path/name" section
These "https://..." should probably be `https://...`, to mark them in asciidoc as literals.
-Peff