Thread (2 messages) flat view 2 messages, 2 authors, 2016-11-12

Feature request - show result of URL rewrites

From: Git User <hidden>
Date: 2016-11-12 17:56:17

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help