git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* persistent-https, url insteadof, and `git submodule`
@ 2017-05-19 19:57 Elliott Cable
  2017-05-19 21:43 ` Dennis Kaarsemaker
  0 siblings, 1 reply; 10+ messages in thread
From: Elliott Cable @ 2017-05-19 19:57 UTC (permalink / raw)
  To: Git Mailing List

Set up `persistent-https` as described in the [README][]; including the
‘rewrite https urls’ feature in `.gitconfig`:

    [url "persistent-https"]
        insteadof = https
    [url "persistent-http"]
        insteadof = http

Unfortunately, this breaks `git submodule add`:

    > git submodule add https://github.com/nodenv/nodenv.git \
        ./Vendor/nodenv
    Cloning into '/Users/ec/Library/System Repo/Vendor/nodenv'...
    fatal: transport 'persistent-https' not allowed
    fatal: clone of 'https://github.com/nodenv/nodenv.git' into
submodule path '/Users/ec/Library/System Repo/Vendor/nodenv' failed

Presumably this isn't intended behaviour?

   [README]: <https://github.com/git/git/tree/master/contrib/persistent-https#readme>


⁓ ELLIOTTCABLE — fly safe.
  http://ell.io/tt

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-01  0:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-19 19:57 persistent-https, url insteadof, and `git submodule` Elliott Cable
2017-05-19 21:43 ` Dennis Kaarsemaker
2017-05-19 21:55   ` Dennis Kaarsemaker
2017-05-20  7:07     ` Jeff King
2017-05-26 16:22       ` Elliott Cable
2017-05-31  4:50         ` Jeff King
2017-05-31 14:23           ` Ævar Arnfjörð Bjarmason
2017-05-31 21:22             ` Jeff King
2017-05-31  5:18         ` [PATCH] docs/config: mention protocol implications of url.insteadOf Jeff King
2017-06-01  0:15           ` Brandon Williams

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).