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 07:57:18 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141211125718.GC25499@thyrsus.com> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <87fvcm5rqi.fsf@lifelogs.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 1418302687 8030 80.91.229.3 (11 Dec 2014 12:58:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 12:58:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 13:58:01 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 1Xz3Jh-0005rN-G5 for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 13:58:01 +0100 Original-Received: from localhost ([::1]:50793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz3Jh-0008A6-4C for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 07:58:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz3JZ-0008A0-KH for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:57:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz3JV-0003Zk-7D for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:57:53 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:37136 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz3JV-0003Zg-3I for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:57:49 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id B9400C008E; Thu, 11 Dec 2014 07:57:18 -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:179752 Archived-At: Steinar Bang : > Yes, as "git reset --hard" is a somewhat dangerous operation to do from > the command line, it would be nice to be able to do it from a UI that > feels safe. > > But there is one complication that git commits may span more files than > the one file currently seen by vc-git.el, and if so: what do you do? Right, this is one of the reasons I described it as tricky and sharp-edged. The problem is not specific to Git. It's general to any changeset VCS, where rollback is necessarily a repository-oriented operation rather than a file-oriented one. -- Eric S. Raymond