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: git commit/push and VC Date: Sat, 22 Nov 2014 08:50:37 +0000 Message-ID: <87bnnzwrdu.fsf@violet.siamics.net> References: <871toysqyq.fsf@rosalinde.fritz.box> <838uj57u5b.fsf@gnu.org> <87ppchd9dk.fsf@Gertrud.fritz.box> <83fvdd612c.fsf@gnu.org> <87h9xttmwa.fsf@uwakimon.sk.tsukuba.ac.jp> <83oas13p1y.fsf@gnu.org> <87egsvu7iw.fsf@uwakimon.sk.tsukuba.ac.jp> <87k32nwwxg.fsf@violet.siamics.net> <8761e74onb.fsf@igel.home> 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 1416646286 11614 80.91.229.3 (22 Nov 2014 08:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2014 08:51:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 09:51:21 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 1Xs6PY-000669-Kg for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2014 09:51:20 +0100 Original-Received: from localhost ([::1]:44407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xs6PY-0005eq-Ag for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2014 03:51:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xs6PU-0005eZ-Kb for emacs-devel@gnu.org; Sat, 22 Nov 2014 03:51:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xs6PT-0000fH-LO for emacs-devel@gnu.org; Sat, 22 Nov 2014 03:51:16 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:48048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xs6PR-0000em-Ha for emacs-devel@gnu.org; Sat, 22 Nov 2014 03:51:15 -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=RvSpyg53yp8I856BOmNuLBBIfgQAvpjSvHReXNQtOmY=; b=m/+Y0gk4HcdUTOom5gyYLDkHuSu1SFHnC9GKC85kWr/jOjI4BQE4RWliTFGZOLxtoiQLX1Jt4Gj8OIiOVnJlzhrnq9iveTxuWFJoQY9Dn4lXj/l1Ny3vIHeEoUT1prjZ9oCljsYnSlo9w4YwK5YfVA/lEesG6ke8gMNG3mSC+tA=; 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 1Xs6PJ-0001Cy-FA for emacs-devel@gnu.org; Sat, 22 Nov 2014 08:51:06 +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 1Xs6Os-000168-6j for emacs-devel@gnu.org; Sat, 22 Nov 2014 15:50:38 +0700 In-Reply-To: <8761e74onb.fsf@igel.home> (Andreas Schwab's message of "Sat, 22 Nov 2014 09:37:12 +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:177977 Archived-At: >>>>> Andreas Schwab writes: >>>>> Ivan Shmakov writes: >> Not necessarily, =E2=80=93 you can just as well add the Git (or, rather, >> .git/objects) directory of your =E2=80=9Cother=E2=80=9D clone to your c= urrent=E2=80=99s >> .git/objects/info/alternates, which will make the other clone=E2=80=99s >> commits available for any operation > You should never do that to link to repositories that are used for > development. The originating repository doesn't know that others > have borrowed objects, and a garbage collection can remove them under > their feet. Personally, I do not use garbage collection at all. Instead, after I=E2=80=99m finished with the clone, and make sure all its worthy commits made it into a separate (--bare) repository, I=E2=80=99d remove one in its entirety. Sure, I=E2=80=99d unlink it from alternates first, and check if my other clones are still valid after that, before the actual removal. --=20 FSF associate member #7257 np. Conclusion =E2=80=94 Apocalyptica =E2=80= =A6 B6A0 230E 334A