aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-04 09:55:45 +0900
committerJunio C Hamano <gitster@pobox.com>2017-06-04 09:55:45 +0900
commitec8455eb2604ffba1e10bca64580fe8894541be1 (patch)
tree7cd3f1eec3d8dd6a1aa203739fd6e1c0cb35b993 /contrib
parent95173a566339e023666753c6382c5b3fd7484583 (diff)
parent2c9a2ae285b0806a5f754dcf6064f7cedc7e1fa8 (diff)
downloadgit-ec8455eb2604ffba1e10bca64580fe8894541be1.tar.gz
git-ec8455eb2604ffba1e10bca64580fe8894541be1.tar.xz
Merge branch 'jk/url-insteadof-config'
The interaction of "url.*.insteadOf" and custom URL scheme's whitelisting is now documented better. * jk/url-insteadof-config: docs/config: mention protocol implications of url.insteadOf
Diffstat (limited to 'contrib')
-rw-r--r--contrib/persistent-https/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/persistent-https/README b/contrib/persistent-https/README
index f784dd2e6..7c4cd8d25 100644
--- a/contrib/persistent-https/README
+++ b/contrib/persistent-https/README
@@ -35,6 +35,16 @@ to use persistent-https:
[url "persistent-http"]
insteadof = http
+You may also want to allow the use of the persistent-https helper for
+submodule URLs (since any https URLs pointing to submodules will be
+rewritten, and Git's out-of-the-box defaults forbid submodules from
+using unknown remote helpers):
+
+[protocol "persistent-https"]
+ allow = always
+[protocol "persistent-http"]
+ allow = always
+
#####################################################################
# BUILDING FROM SOURCE