Thread (10 messages) flat view 10 messages, 2 authors, 2016-06-15

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

From: Jeff King <hidden>
Date: 2016-06-15 22:58:14

On Mon, Jul 22, 2013 at 05:56:44AM -0700, Kyle J. McKay wrote:
+	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help