git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* URL rewrites for submodules
@ 2020-02-10 20:56 Toon Claes
  2020-02-10 22:04 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Toon Claes @ 2020-02-10 20:56 UTC (permalink / raw)
  To: git

Hi,

I recently learned about rewriting URLs. Pretty cool feature. Learned
about it here:
https://jonhnnyweslley.net/blog/how-to-rewrite-git-urls-to-clone-faster-and-push-safer/ 

But I've been doing some testing, and this feature does not seem to work
for git submodules. Is it like that by design, so are there technical or
practical limitation why we would not like to have this feature on
submodules too?

If it's not by design, would you consider a contribution adding this
feature? What should I then pay attention at? For example, should there
be an option to enable/disable it for submodules, something like:

[url "http://new.url.example.com"]
     insteadOf = "old.url.example.com"
     submodules = true


--
Toon

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

end of thread, other threads:[~2020-02-12  1:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 20:56 URL rewrites for submodules Toon Claes
2020-02-10 22:04 ` Junio C Hamano
2020-02-11 21:02   ` Toon Claes
2020-02-12  1:35     ` Jonathan Nieder

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).