From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: RFC: script to add another remote Date: Fri, 23 Feb 2007 00:21:46 -0800 Message-ID: <7vbqjl9td1.fsf@assigned-by-dhcp.cox.net> References: <1172182595.20817.26.camel@dv> <7v8xepde5g.fsf@assigned-by-dhcp.cox.net> <1172218468.20390.15.camel@dv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: GIT list To: Pavel Roskin X-From: git-owner@vger.kernel.org Fri Feb 23 09:21:54 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKVge-0000on-Ox for gcvg-git@gmane.org; Fri, 23 Feb 2007 09:21:53 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752179AbXBWIVs (ORCPT ); Fri, 23 Feb 2007 03:21:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752178AbXBWIVs (ORCPT ); Fri, 23 Feb 2007 03:21:48 -0500 Received: from fed1rmmtao101.cox.net ([68.230.241.45]:62818 "EHLO fed1rmmtao101.cox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752173AbXBWIVr (ORCPT ); Fri, 23 Feb 2007 03:21:47 -0500 Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao101.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070223082148.WDUJ6078.fed1rmmtao101.cox.net@fed1rmimpo01.cox.net>; Fri, 23 Feb 2007 03:21:48 -0500 Received: from assigned-by-dhcp.cox.net ([68.5.247.80]) by fed1rmimpo01.cox.net with bizsmtp id SwMm1W0031kojtg0000000; Fri, 23 Feb 2007 03:21:47 -0500 In-Reply-To: <1172218468.20390.15.camel@dv> (Pavel Roskin's message of "Fri, 23 Feb 2007 03:14:28 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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.