From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Multiple checkout copies Date: Mon, 2 Feb 2015 23:19:59 +0800 Message-ID: References: <54CE9E10.5000709@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2a348cdb946050e1c7c1c X-Trace: ger.gmane.org 1422891016 28854 80.91.229.3 (2 Feb 2015 15:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 15:30:16 +0000 (UTC) Cc: Paul Eggert , emacs-devel To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 02 16:30:16 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 1YIIx4-0002hi-MC for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2015 16:30:14 +0100 Original-Received: from localhost ([::1]:55117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIInm-0002Oo-HV for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2015 10:20:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIInD-0002KF-8k for emacs-devel@gnu.org; Mon, 02 Feb 2015 10:20:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIInB-0000er-Tk for emacs-devel@gnu.org; Mon, 02 Feb 2015 10:20:03 -0500 Original-Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:47572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIIn9-0000dZ-Ok; Mon, 02 Feb 2015 10:19:59 -0500 Original-Received: by mail-qc0-f173.google.com with SMTP id m20so30371404qcx.4; Mon, 02 Feb 2015 07:19:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=roG/JgH5rlHT4c5J1NdYcpADxVsiPcoNFPihfSmtLtI=; b=KjZgrlFQ28NwQp48BiDyTOXvrZaVqwx63fs/dwRcK1hfG722JkGuNaIoMjk6Usee00 k66VZmc9u9YLv4XLcOcNtZ95U8TnAhGveXjwAkZvfQ71r4/TZqz45eagNg3zDEUs5XfD WNI+bmogF24G8yaPf9UjT6Sp8ceMemMpScTLoSfX5cDZBmqxU5gKsJWHZKxW59anJc2G kCB1x5myJmR40wGwRlQti4az+42yH05rbdpHfMbTJD+QsJtJDG5JbuHNJovTC+Ar1AHs n+7m7w2T8WD+SZNG4wikQkhb6JWDuZoV8HtZLlLe6OCns2c/Iqnu1iLMX3/nsSSrjOMo ETvw== X-Received: by 10.224.135.200 with SMTP id o8mr43484118qat.1.1422890399280; Mon, 02 Feb 2015 07:19:59 -0800 (PST) Original-Received: by 10.140.25.209 with HTTP; Mon, 2 Feb 2015 07:19:59 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22d 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:182257 Archived-At: --001a11c2a348cdb946050e1c7c1c Content-Type: text/plain; charset=UTF-8 On 2 February 2015 at 21:35, Richard Stallman wrote: Doesn't 'git clone' download a copy of the whole repository? > I thought that is what it did. > 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. Thus, the repository itself will not take any extra space, only the actual work files themselves. Regards, Elias --001a11c2a348cdb946050e1c7c1c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 2= February 2015 at 21:35, Richard Stallman <rms@gnu.org> wrote:

Doesn't= 'git clone' download a copy of the whole repository?
I thought that is what it did.

When you= do a "git checkout" of an existing git repository it will hard-l= ink the files in .git/objects so that they are shared between the repositor= ies. Thus, the repository itself will not take any extra space, only the ac= tual work files themselves.

Regards,
Eli= as
--001a11c2a348cdb946050e1c7c1c--