git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* error: invalid key with file url insteadOf
@ 2018-07-20 21:27 Basin Ilya
  2018-07-20 21:37 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Basin Ilya @ 2018-07-20 21:27 UTC (permalink / raw)
  To: git

Hi.

I'm trying to make the Cygwin Git understand Mingw-style repo urls:

    git config --global \
      file:///cygdrive/c.insteadOf \
      file:///C:

But this fails with:

    error: invalid key: file:///cygdrive/c.insteadOf

Manually editing ~/.gitconfig works fine:

    [url "file:///cygdrive/c"]
            insteadOf = file:///C:


    il@MAR2 /cygdrive/c/progs/maven/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe
    $ LANG=C cmd.exe /X /C "git clone file:///C:/progs/maven/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/target/git_copy checkin-nobranch"
    Cloning into 'checkin-nobranch'...
    warning: You appear to have cloned an empty repository.

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

end of thread, other threads:[~2018-07-20 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-20 21:27 error: invalid key with file url insteadOf Basin Ilya
2018-07-20 21:37 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).