git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Daniel Barkalow <barkalow@iabervon.org>
Date
May 8, 2008, 21:11 UTC
Message-ID
<alpine.LNX.1.00.0805081707570.19665@iabervon.org>
In-Reply-To
<48232158.6090708@tordek.com.ar>
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*
Previous: Guillermo O. Freschi
Message 2 of 2 in “url.<base>.insteadOf and git-clone”
  1. Guillermo O. FreschiMay 8, 2008
  2. Daniel BarkalowMay 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.