threads / discuss / 13435

url.<base>.insteadOf and git-clone

Subject: url.<base>.insteadOf and git-clone

## tl;dr

2 messages between May 8, 2008 and May 8, 2008.

replies: 1people: 2as markdown or json

Guillermo O. Freschi· May 8, 2008, 15:50 UTC · lore
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· May 8, 2008, 21:11 UTC · re: Guillermo O. Freschi · lore

Re: url.<base>.insteadOf and git-clone

On Thu, 8 May 2008, Guillermo O. Freschi wrote:
Show 7 quoted lines
> 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*

← back to recent threads