diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-27 11:54:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-27 11:54:13 -0800 |
commit | 5372715ed268b190b022a12579767816ea6738ae (patch) | |
tree | 6384cfe919d87d5ca4b7c5af7fe71b872349f248 /Documentation/config.txt | |
parent | 3c972e1ec422e0e72ab192ee871656cd065ca80e (diff) | |
parent | 844112cac07d6413b9bb42d38527d2f7ca7c7801 (diff) | |
download | git-5372715ed268b190b022a12579767816ea6738ae.tar.gz |
Merge branch 'db/host-alias'
* db/host-alias:
url rewriting: take longest and first match
Add support for url aliases in config files
Use ALLOC_GROW in remote.{c,h}
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 0c0bd3b0eb..8e361a1e77 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -899,6 +899,17 @@ tar.umask:: archiving user's umask will be used instead. See umask(2) and linkgit:git-archive[1]. +url.<base>.insteadOf:: + Any URL that starts with this value will be rewritten to + start, instead, with <base>. In cases where some site serves a + large number of repositories, and serves them with multiple + access methods, and some users need to use different access + methods, this feature allows people to specify any of the + equivalent URLs and have git automatically rewrite the URL to + the best alternative for the particular user, even for a + never-before-seen repository on the site. When more than one + insteadOf strings match a given URL, the longest match is used. + user.email:: Your email address to be recorded in any newly created commits. Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and |