From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Sun, 05 Apr 2015 22:02:18 +0300 Message-ID: <83vbhal7ph.fsf@gnu.org> References: <5511998E.8080309@cs.ucla.edu> <5512F8C7.7010509@math.ntnu.no> <5513F889.4000404@math.ntnu.no> <55212DE9.8070806@math.ntnu.no> <55217D4D.4080207@cs.ucla.edu> <83y4m6l8vw.fsf@gnu.org> <552182EC.5080901@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428260553 1756 80.91.229.3 (5 Apr 2015 19:02:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2015 19:02:33 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 05 21:02:25 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 1YepoO-00067U-As for ged-emacs-devel@m.gmane.org; Sun, 05 Apr 2015 21:02:24 +0200 Original-Received: from localhost ([::1]:37351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YepoN-0005l3-PM for ged-emacs-devel@m.gmane.org; Sun, 05 Apr 2015 15:02:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YepoK-0005kD-0e for emacs-devel@gnu.org; Sun, 05 Apr 2015 15:02:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YepoG-0001Lz-Qv for emacs-devel@gnu.org; Sun, 05 Apr 2015 15:02:19 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:43232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YepoG-0001Lu-JF; Sun, 05 Apr 2015 15:02:16 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NMC00G00KEB6Q00@mtaout25.012.net.il>; Sun, 05 Apr 2015 21:57:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMC00FDQKNZRE10@mtaout25.012.net.il>; Sun, 05 Apr 2015 21:57:35 +0300 (IDT) In-reply-to: <552182EC.5080901@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 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:184967 Archived-At: > Date: Sun, 05 Apr 2015 11:46:04 -0700 > From: Paul Eggert > CC: rms@gnu.org, emacs-devel@gnu.org > > Eli Zaretskii wrote: > > As others have pointed out, using a separate repository each time does > > not guarantee that these problems will not happen. > > Of course it doesn't. But it does solve RMS's problem that he has a repository > that's in a bad state, and wants to get back to a good state where he can commit > and push changes, without losing any of the work in his current repository. That's a one-time problem. The situation that caused it could very well happen again, and the workflow should include procedures to handle that. I thought Richard was contemplating the idea of cloning a fresh repository every time he wanted to push some changes, so my reaction was to that possibility, not to a one-time fix. > It's a simple approach that doesn't require deep understanding of Git. "Simple" is in the eyes of the beholder. I think without a good understanding it is impossible to come up with such a procedure, but that's me.