# url.<base>.insteadOf and git-clone

2 messages from 2008-05-08 to 2008-05-08. Participants: Guillermo O. Freschi, Daniel Barkalow.
Thread: https://gitlist.dev/t/13435

## Guillermo O. Freschi, 2008-05-08 15:50

Subject: url.<base>.insteadOf and git-clone
Message-ID: <48232158.6090708@tordek.com.ar>
URL: https://gitlist.dev/e/48232158.6090708%40tordek.com.ar

```
Nearly gone insane about this: adding a configuration like
[url "ssh://example.com/foo"]
    insteadOf = foo:

works for git-fetch and git-pull (of what I've tested), but does not on git-clone (As of version 1.5.5.GIT).

Given that this config appears on the git-clone manpage, am I to assume it's a bug?

-- 
Tordek, el enano
http://www.arcanopedia.com.ar - Juegos de Rol en Argentina
http://blog.tordek.com.ar - La Red en la Red

```

## Daniel Barkalow, 2008-05-08 21:11

Subject: Re: url.<base>.insteadOf and git-clone
Message-ID: <alpine.LNX.1.00.0805081707570.19665@iabervon.org>
URL: https://gitlist.dev/e/alpine.LNX.1.00.0805081707570.19665%40iabervon.org
In-Reply-To: <48232158.6090708@tordek.com.ar>

```
On Thu, 8 May 2008, Guillermo O. Freschi wrote:

> Nearly gone insane about this: adding a configuration like
> [url "ssh://example.com/foo"]
>     insteadOf = foo:
> 
> works for git-fetch and git-pull (of what I've tested), but does not on git-clone (As of version 1.5.5.GIT).
> 
> Given that this config appears on the git-clone manpage, am I to assume it's a bug?

At this point, it's a documentation bug; it's a new feature for programs 
other than clone that will eventually be supported in clone but is not 
yet. The documentation makes the currently-overly-optimistic assumption 
that clone supports all of the common stuff.

	-Daniel
*This .sig left intentionally blank*

```
