git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lars Schneider <larsxschneider@gmail.com>
To: Git Users <git@vger.kernel.org>
Subject: [RFC] Case insensitive URL rewrite
Date: Fri, 11 Dec 2015 14:45:37 +0100	[thread overview]
Message-ID: <B207EFC1-48DF-4B8F-8373-28A0CB5660B0@gmail.com> (raw)

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

             reply	other threads:[~2015-12-11 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 13:45 Lars Schneider [this message]
2015-12-11 14:38 ` [RFC] Case insensitive URL rewrite 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B207EFC1-48DF-4B8F-8373-28A0CB5660B0@gmail.com \
    --to=larsxschneider@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).