[PATCH] doc: clarify gitcredentials path component matching

2018-09-26 Thread Zych, David M
The gitcredentials documentation implied that the config file's "pattern" URL might include a path component, but did not explain that it must match exactly (potentially leaving readers with the false hope that it would support a more flexible prefix match). Signed-off-by: David Zych --- Documen

credential..helper with partial url path

2018-09-21 Thread Zych, David M
Suppose I need to use different credential.helper values for different repositories on the same HTTPS host. Ideally I would like to be able to write this logic using a partial URL path prefix, for example in ~/.gitconfig [credential "https://example.com/prefix1/foo.git";] helper = !ZZ