git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request - show result of URL rewrites
@ 2016-11-12 17:49 Git User
  2016-11-12 18:17 ` Dennis Kaarsemaker
  0 siblings, 1 reply; 3+ messages in thread
From: Git User @ 2016-11-12 17:49 UTC (permalink / raw)
  To: git

Hello

Hopefully this is the right place to submit feature requests - let me know if there's somewhere else I should use!

Git lets you rewrite URLs using "url.<base>.insteadOf"

https://stackoverflow.com/a/11383587
https://git-scm.com/docs/git-config

Can you add a git-config option to show the result of this rewriting whenever this occurs, as debugging more complicated rules can be difficult/wasn't obvious without Wireshark.

E.g. you could have the option 'url.printRewrites [True/False]' which would print the line "Rewrote url 'git://github.com/git/git' to 'https://github.com/git/git'" to terminal/stdout  when set to True.

Thanks

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

end of thread, other threads:[~2016-11-13  1:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-12 17:49 Feature request - show result of URL rewrites Git User
2016-11-12 18:17 ` Dennis Kaarsemaker
2016-11-13  1:46   ` Junio C Hamano

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 NNTP newsgroup(s).