From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Switching from old git tree Date: Sat, 15 Nov 2014 13:26:13 -0500 Message-ID: <56A2CB10-ED25-4C18-824A-683BBF2614CD@raeburn.org> References: <87ioiiotwx.fsf@fencepost.gnu.org> <87egt5q46l.fsf@fencepost.gnu.org> <83zjbsg7qz.fsf@gnu.org> <87d28oom90.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416075997 6059 80.91.229.3 (15 Nov 2014 18:26:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2014 18:26:37 +0000 (UTC) To: "emacs-devel@gnu.org discussions" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 15 19:26:30 2014 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 1Xpi3J-0006XH-Jk for ged-emacs-devel@m.gmane.org; Sat, 15 Nov 2014 19:26:29 +0100 Original-Received: from localhost ([::1]:41550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpi3J-0006k5-2S for ged-emacs-devel@m.gmane.org; Sat, 15 Nov 2014 13:26:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpi30-0006jt-5I for emacs-devel@gnu.org; Sat, 15 Nov 2014 13:26:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpi2v-0006oS-8Q for emacs-devel@gnu.org; Sat, 15 Nov 2014 13:26:10 -0500 Original-Received: from mail-qg0-f47.google.com ([209.85.192.47]:40550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpi2v-0006oO-5E for emacs-devel@gnu.org; Sat, 15 Nov 2014 13:26:05 -0500 Original-Received: by mail-qg0-f47.google.com with SMTP id z60so947026qgd.6 for ; Sat, 15 Nov 2014 10:26:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=2WQPrzimHN3yGfORDS0VHL02C2k0HxMk0UlBV1Jp+Yw=; b=ZMHxgsb5Zqpzqqe5i0PVpgwMEor8gmX3YsDMlXYLOw5tRTHP90dfAsvAkAaXSZHpDn h2DJ+IXFFTm0A+KiUGXBNde/Bvk3Ygc5QTbmOeCU2iHtPSXdvM+xg1JIU7or/sUfGSjY Ft9N1aYV+Q3hTBwNnx8NSPEbQCz751bh5VYBKEnk5c/SwvqiHoDejfm8HXh53Ma0ahSF 123aSHKh5q0D34ZX/BUEA4nKscy3kgtssqQJnFqUWaKjZZ/VaqI4/qsuUUYCI5sNNl2A OuEzJP2vUl9WkmsFWQsi/Wy5nvuKt5rz5JwvhfgUsyyYsUDbgdDrhT3hFcU6+JbYZNNK dmhw== X-Gm-Message-State: ALoCoQnKzslJariTSeWDJsejubNaxHNqdHHi5sSCYOZexCrnxIS71n08cb9AQUl74/UxrphmRTuA X-Received: by 10.224.7.200 with SMTP id e8mr21115345qae.77.1416075964556; Sat, 15 Nov 2014 10:26:04 -0800 (PST) Original-Received: from [192.168.17.111] (c-66-31-203-101.hsd1.ma.comcast.net. [66.31.203.101]) by mx.google.com with ESMTPSA id o71sm586361qge.39.2014.11.15.10.26.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Nov 2014 10:26:03 -0800 (PST) In-Reply-To: <87d28oom90.fsf@fencepost.gnu.org> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.47 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:177224 Archived-At: On Nov 15, 2014, at 04:18, David Kastrup wrote: > Eli Zaretskii writes: >=20 >>> From: Kenneth Raeburn >>> Date: Sat, 15 Nov 2014 03:43:05 -0500 >>>=20 >>> After creating your "main" clone of the new upstream repository, >>> clone *that* one locally (use the "-s" option to save disk space) >>=20 >> Careful: kids are listening! The -s option to clone has a caveat on >> its man page, which, to me sounds as "Kids, don't try this at home!" >=20 > -s does not save disk space over the default _unless_ your local clone > happens to be on a different file system. There is little reason to > keep local clones on different file systems, however. On the same = file > system, the normal git clone operation uses hard links, and those are > unproblematic regarding the given caveat. I'd forgotten that hard links were the default, I was thinking it would = copy the needed objects. Even so, the disk space usage would have only = been temporary, for the life of the repository used for merging. Yes, = leaving out -s is probably the right thing in most cases. But the general idea of using a second, temporary repository for the = merging, and pushing only the updated branches back to the main = repository, will save space in the long run, and without needing the = 30-day delay, GC, etc. It also lets one start practicing pulling and = pushing changes between repositories. Ken=