From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Removing rollback from VC mode - request for comment Date: Thu, 11 Dec 2014 16:49:38 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141211214938.GA3216@thyrsus.com> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <874mt2iksu.fsf@fencepost.gnu.org> <87fvcm8jf0.fsf@zigzag.favinet> <20141211125145.GB25499@thyrsus.com> <83d27qtar6.fsf@gnu.org> <20141211174508.GC581@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1418334609 8168 80.91.229.3 (11 Dec 2014 21:50:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 21:50:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sergey Organov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 22:50:03 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 1XzBcY-0006hs-NQ for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 22:50:02 +0100 Original-Received: from localhost ([::1]:54449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBcY-00016s-8T for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 16:50:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBcF-00016Z-KW for emacs-devel@gnu.org; Thu, 11 Dec 2014 16:49:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzBcA-00060W-US for emacs-devel@gnu.org; Thu, 11 Dec 2014 16:49:43 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:39723 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBcA-00060G-Pg for emacs-devel@gnu.org; Thu, 11 Dec 2014 16:49:38 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id 1A186C008E; Thu, 11 Dec 2014 16:49:38 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 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:179840 Archived-At: Sergey Organov : > > This is why git only lets you remove tip deltas. > > Nah. See above. Rebase is a different operation. It's forward composition after you've chopped off a last segnment. > And, strictly speaking, Git doesn't work in terms of deltas, nor does it > remove anything. To get rid of a few last commits, it only moves the > branch pointer back, and from the POV of drawbacks of history rewrite > I don't think it's too different from removing commit(s) in the middle. It's...quite different. I had to wrestle with this when implementing commit deletion in reposurgeon. -- Eric S. Raymond