Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-04 03:55:45 +0300
committerJunio C Hamano <gitster@pobox.com>2017-06-04 03:55:45 +0300
commitec8455eb2604ffba1e10bca64580fe8894541be1 (patch)
tree7cd3f1eec3d8dd6a1aa203739fd6e1c0cb35b993 /contrib
parent95173a566339e023666753c6382c5b3fd7484583 (diff)
parent2c9a2ae285b0806a5f754dcf6064f7cedc7e1fa8 (diff)
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 f784dd2e66b..7c4cd8d257d 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