Hi, Short disclaimer: this patch results from work for a client at my day job at elego Software Solutions GmbH. As such, I'm using my work mail address and added a new mailmap entry. I wasn't exactly certain if the mailmap entry should've been created in a separate commit series, as it has nothing to do with the actual topic -- I can re-send it separately if requested. This patch is mostly a request for comments. The use case is to be able to configure an HTTP proxy for all subdomains of a certain domain where there are hundreds of subdomains. The most flexible way I could imagine was by using regular expressions for the matching, which is how I implemented it for now. So users can now create a configuration key like `http.?http://.*\\.example\\.com.*` to apply settings for all subdomains of `example.com`. I tried to make this feature as backwards-compatible as it can be by having the '?' prefix. Older clients will barf when trying to normalize the URL as '?' is not in the set of allowed characters for a URL, and for newer clients there will be no change in behavior for previously configured `http.<url>.*` keys. Regards Patrick Steinhardt Patrick Steinhardt (2): mailmap: add Patrick Steinhardt's work address urlmatch: allow regex-based URL matching .mailmap | 1 + Documentation/config.txt | 6 ++++- t/t1300-repo-config.sh | 31 ++++++++++++++++++++++++++ urlmatch.c | 57 ++++++++++++++++++++++++++++++++++++++---------- 4 files changed, 82 insertions(+), 13 deletions(-) -- 2.11.0