From: Pavel Roskin Date: Fri, 23 Feb 2007 08:24:32 GMT Subject: Re: RFC: script to add another remote Message-ID: <1172219072.20390.17.camel@dv> In-Reply-To: <7vbqjl9td1.fsf@assigned-by-dhcp.cox.net> On Fri, 2007-02-23 at 00:21 -0800, Junio C Hamano wrote: > Pavel Roskin 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. Oh, I see. Thanks for the explanation. -- Regards, Pavel Roskin