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

Re: RFC: script to add another remote

From
Junio C Hamano <junkio@cox.net>
Date
Feb 23, 2007, 08:21 UTC
Message-ID
<7vbqjl9td1.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1172218468.20390.15.camel@dv>
Pavel Roskin <proski@gnu.org> writes:
> It looks like git-clone should be extended to support cloning of a
> repository on top of the existing one.

Actually git-remote was done during a previous discussion on the same subject, with a goal to make it possible to rewrite git-clone (after giving the "where is the HEAD" logic to git-remote, perhaps) in terms of git-init and git-remote.

So probably the next step would be to refactor some logic and functionality out of git-clone, move them to git-remote, and reimplement git-clone in terms of git-remote. Implementation of "--more" option would become much simpler (or, almost free) after that is done.

Previous: Pavel RoskinNext: Pavel Roskin
Message 4 of 6 in “RFC: script to add another remote”
  1. Pavel RoskinFeb 22, 2007
  2. Junio C HamanoFeb 22, 2007
  3. Pavel RoskinFeb 23, 2007
  4. Junio C HamanoFeb 23, 2007
  5. Pavel RoskinFeb 23, 2007
  6. Junio C HamanoFeb 23, 2007

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.