From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] git-clone --shared should imply --local Date: Mon, 28 Nov 2005 23:52:55 -0800 Message-ID: <7v4q5vlwko.fsf@assigned-by-dhcp.cox.net> References: <1133245249.27750.77.camel@dv> <7viruclymo.fsf@assigned-by-dhcp.cox.net> <1133248651.27750.82.camel@dv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git X-From: git-owner@vger.kernel.org Tue Nov 29 09:44:07 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh0IO-00088R-GY for gcvg-git@gmane.org; Tue, 29 Nov 2005 08:53:10 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750867AbVK2Hw5 (ORCPT ); Tue, 29 Nov 2005 02:52:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750870AbVK2Hw5 (ORCPT ); Tue, 29 Nov 2005 02:52:57 -0500 Received: from fed1rmmtao09.cox.net ([68.230.241.30]:56768 "EHLO fed1rmmtao09.cox.net") by vger.kernel.org with ESMTP id S1750864AbVK2Hw5 (ORCPT ); Tue, 29 Nov 2005 02:52:57 -0500 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao09.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051129075257.TAMQ25099.fed1rmmtao09.cox.net@assigned-by-dhcp.cox.net>; Tue, 29 Nov 2005 02:52:57 -0500 To: Pavel Roskin In-Reply-To: <1133248651.27750.82.camel@dv> (Pavel Roskin's message of "Tue, 29 Nov 2005 02:17:31 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) 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: > On Mon, 2005-11-28 at 23:08 -0800, Junio C Hamano wrote: >> Pavel Roskin writes: >> >> > The "--shared" option to git-clone is silently ignored if "--local" is >> > not specified. The manual doesn't mention such dependency. Make >> > "--shared" imply "--local". >> > >> > Signed-off-by: Pavel Roskin >> >> Hmph, then probably the manual should say it implies it... > > Actually, from the user point of view --local and --shared are > alternatives to each other and to the default behavior. --local copies > files, --shared makes a reference. > > Saying that --shared implies --local could sound like git-clone would > still copy all objects. > > My description was from the implementation point of view. Ah. Makes sense.