From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: Multiple checkout copies Date: Mon, 02 Feb 2015 17:42:40 +0000 Message-ID: <87sieogqgf.fsf@violet.siamics.net> References: <54CE9E10.5000709@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422899013 7982 80.91.229.3 (2 Feb 2015 17:43:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 17:43:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 02 18:43:26 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIL1x-0006K6-JK for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2015 18:43:25 +0100 Original-Received: from localhost ([::1]:55797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIL1x-0000PH-2y for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2015 12:43:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIL1i-0000P3-KU for emacs-devel@gnu.org; Mon, 02 Feb 2015 12:43:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIL1c-00010u-Hv for emacs-devel@gnu.org; Mon, 02 Feb 2015 12:43:10 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:37523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIL1c-0000zK-88 for emacs-devel@gnu.org; Mon, 02 Feb 2015 12:43:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=DsNI4a6ML6XO65ZQCTSragJehWg5CLBrk8kJnqFo5ZA=; b=F8MKZpm7oW/Jy4V6LBp9JYF1s7d0zvavoWzYKaXHIdKEJR1D1bru05LBeLIMiDDMCJKt35OVCMoTRSpvW3OHBwHUddm9yhhllmICgGolPTZRajm4DAXJpytPvRGmrB95rwRkhObm9y8SUBE5cHVEMevHofkBQFNvRLKIevYR+MY=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YIL1O-0000Yo-DJ for emacs-devel@gnu.org; Mon, 02 Feb 2015 17:42:50 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YIL1G-0002It-7r for emacs-devel@gnu.org; Tue, 03 Feb 2015 00:42:42 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 02 Feb 2015 08:35:23 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182275 Archived-At: >>>>> Richard Stallman writes: >> I don't use it myself, as 'git clone' is plenty fast and avoids some >> problems when multiple branches trying to update the same >> repository. > Doesn't 'git clone' download a copy of the whole repository? > I thought that is what it did. When applied to a /local/ repository, =E2=80=93 it doesn=E2=80=99t. Say, = the following will clone an existing emacs-1 working directory into a new emacs-2 one, also setting up .git/objects/info/alternates under the latter pointing to emacs-1/.git/objects, so that all the Git commits available under the first are also available under the second. $ git clone --shared emacs-1 emacs-2=20 The branches and tags of these two working copies are entirely independent, however. The --shared option is the default when both the source and the target directories are on the same filesystem. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A