From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Multiple checkout copies Date: Tue, 03 Feb 2015 09:40:20 +0100 Message-ID: <87wq3z2xsb.fsf@fencepost.gnu.org> References: <54CE9E10.5000709@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422955628 10651 80.91.229.3 (3 Feb 2015 09:27:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 09:27:08 +0000 (UTC) Cc: Elias =?iso-8859-1?Q?M=E5rtenson?= , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 03 10:27:07 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 1YIZlC-0005UO-RI for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 10:27:07 +0100 Original-Received: from localhost ([::1]:58359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIZlB-0001E2-VU for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 04:27:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIZl5-00017k-DB for emacs-devel@gnu.org; Tue, 03 Feb 2015 04:27:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIZl4-0001Z3-M9 for emacs-devel@gnu.org; Tue, 03 Feb 2015 04:26:59 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIZl4-0001Yv-Jv for emacs-devel@gnu.org; Tue, 03 Feb 2015 04:26:58 -0500 Original-Received: from localhost ([127.0.0.1]:47572 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIZkx-0001AE-Ek; Tue, 03 Feb 2015 04:26:51 -0500 Original-Received: by lola (Postfix, from userid 1000) id 385BEE04E9; Tue, 3 Feb 2015 09:40:21 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Mon, 02 Feb 2015 20:10:38 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:182315 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > I wrote > > > Doesn't 'git clone' download a copy of the whole repository? > > > I thought that is what it did. > > and you answered > > > When you do a "git checkout" of an existing git repository it will > > hard-link the files in .git/objects so that they are shared between the > > repositories. > > How does one get from the one t the other? I am lost. I suppose by fixing a finger fluke. The second statement can be turned from nonsensical to accurate by replacing "git checkout" with "git clone". Of course, you still need to make this "of an existing git repository on the same file system" since otherwise you won't be getting hard links. -- David Kastrup