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: Tue, 03 Feb 2015 13:37:12 +0000 Message-ID: <87fvanglpz.fsf@violet.siamics.net> References: <54CE9E10.5000709@cs.ucla.edu> <87sieogqgf.fsf@violet.siamics.net> <87386ncnz3.fsf@Rainer.invalid> <87oapb2t2e.fsf@fencepost.gnu.org> <87y4ofb1gt.fsf@Rainer.invalid> <87fvan2l29.fsf@fencepost.gnu.org> 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 1422970672 7310 80.91.229.3 (3 Feb 2015 13:37:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 13:37:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 03 14:37:48 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 1YIdfl-0005eE-Kh for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 14:37:45 +0100 Original-Received: from localhost ([::1]:59581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIdfk-0000s6-PM for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 08:37:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIdfV-0000ry-5Z for emacs-devel@gnu.org; Tue, 03 Feb 2015 08:37:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIdfS-0001vg-TS for emacs-devel@gnu.org; Tue, 03 Feb 2015 08:37:29 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:37654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIdfS-0001vS-Jg for emacs-devel@gnu.org; Tue, 03 Feb 2015 08:37:26 -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=GLSbmqNSX1vVpidQ8/uD0L1h6TbVMSr7GK3cOY58GMM=; b=CyzC1mPZBkhUvryjFe4UjkX68Lc10yvC7DtuhD8TRDlFfuRTuUwqCesFjzQ0TomzTOn0DRI5uM48oZbCSBnA+0VgSrTdnLleMZzsbgyNEdZawmNotJH1UALFWORn6xLLctrkmRZLu420RXrB0pUtvyUi+YMxzffyTXQJ7n/8P/A=; 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 1YIdfP-0002SG-MA for emacs-devel@gnu.org; Tue, 03 Feb 2015 13:37:24 +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 1YIdfE-0005kQ-PH for emacs-devel@gnu.org; Tue, 03 Feb 2015 20:37:12 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87fvan2l29.fsf@fencepost.gnu.org> (David Kastrup's message of "Tue, 03 Feb 2015 14:15:10 +0100") 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:182327 Archived-At: >>>>> David Kastrup writes: >>>>> Achim Gratz writes: [=E2=80=A6] >> In any case, as long as the repo cloned via "--shared" is a bare >> repository that was cloned from upstream Emacs and you do not clone >> the second generation again in this manner, "--shared" is still >> safe. > No, it isn't. You can have both local branches and remote branches > removed from the cloned bare repo while your --shared clone still > uses objects that are no longer retained in the first clone. =E2=80=9CCan=E2=80=9D in the sense that you /can/ use Git to shoot yoursel= f in the foot, or are there cases where git-fetch(1) would indeed autoremove any branch references from a bare repository? >> It can still be a net win for throw-away clones needed during a >> build. > Basically the only sensible use is for temporary clones used (and > deleted again) within a script. I use a separate filesystem for local mirrors, including those of upstream Git repositories. Thus, --shared is pretty much the only space-saving option. Works for me that way since c. 2008. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A