git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Case insensitive URL rewrite
@ 2015-12-11 13:45 Lars Schneider
  2015-12-11 14:38 ` Daniel Stenberg
  2015-12-11 18:26 ` Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Schneider @ 2015-12-11 13:45 UTC (permalink / raw)
  To: Git Users

Hi,

the "url.<someURL>.insteadOf" git config is case sensitive. I understand that this makes sense on case sensitive file systems. However, URLs are mostly case insensitive:

Consider this:
git clone https://GIThub.com/GIT/GIT
git clone https://github.com/git/git

Both commands will clone the same repository.

Interestingly enough this works, too:
git clone git@GIThub.com:GIT/GIT

What do you think about a flag that makes these rewrites case insensitive? E.g. with the following config flag:

[url "<actual url base>"]
	insteadOf = <other url base>
	ignorecase = true

Thanks,
Lars

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

end of thread, other threads:[~2015-12-11 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 13:45 [RFC] Case insensitive URL rewrite Lars Schneider
2015-12-11 14:38 ` Daniel Stenberg
2015-12-11 18:26 ` Junio C Hamano
2015-12-11 18:51   ` Stefan Beller
2015-12-11 18:56     ` Junio C Hamano
2015-12-11 19:15   ` Jeff King

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