git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Feature request - show result of URL rewrites

From
GUGit User <git.user@mailfence.com>
Date
Nov 12, 2016, 17:49 UTC
Message-ID
<284668531.626.1478972994238.JavaMail.root@ichabod>
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
Next: Dennis Kaarsemaker
Message 1 of 3 in “Feature request - show result of URL rewrites”
  1. Git UserNov 12, 2016
  2. Dennis KaarsemakerNov 12, 2016
  3. Junio C HamanoNov 13, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.