From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Removing rollback from VC mode - request for comment Date: Thu, 11 Dec 2014 09:27:14 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <20141211123629.GA25499@thyrsus.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418308101 3767 80.91.229.3 (11 Dec 2014 14:28:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 14:28:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 15:28:13 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 1Xz4ix-0003ra-VZ for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 15:28:12 +0100 Original-Received: from localhost ([::1]:51771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz4ix-0005N4-G1 for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 09:28:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz4iM-0004wS-HS for emacs-devel@gnu.org; Thu, 11 Dec 2014 09:27:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz4iH-0004kf-3j for emacs-devel@gnu.org; Thu, 11 Dec 2014 09:27:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz4iG-0004ka-Tp for emacs-devel@gnu.org; Thu, 11 Dec 2014 09:27:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xz4iF-0003P5-MK for emacs-devel@gnu.org; Thu, 11 Dec 2014 15:27:27 +0100 Original-Received: from 198.0.146.153 ([198.0.146.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 15:27:27 +0100 Original-Received: from tzz by 198.0.146.153 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 15:27:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 198.0.146.153 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (darwin) Cancel-Lock: sha1:vRHLLTppv1r5Sa7snCgpuSB9+lM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:179756 Archived-At: On Thu, 11 Dec 2014 07:36:29 -0500 "Eric S. Raymond" wrote: ESR> The VC Git support is now about ten years old. In all that time, the ESR> fact that Ctrl-x v c is not bound to git reset seems never to have ESR> been reported as a bug or wishlist item. This suggests to me that ESR> there is little or no demand for the feature. Most of us use the command line or Magit. Those work fine. ESR> Mind not made up yet. But leaning more towards deleting, now. Willing ESR> to listen to a more spirited defense. Talk like Yoda, will you. On Thu, 11 Dec 2014 13:42:22 +0100 Steinar Bang wrote: >>>>>> Ted Zlatanov : >> I think Git should support it anyway, with rollback to any commit. >> That's just a "git reset". SB> "git reset --hard", actually. While they are both useful, I find `git reset' gentler because it doesn't lose my changes. It's a soft rollback, perhaps. SB> But there is one complication that git commits may span more files than SB> the one file currently seen by vc-git.el, and if so: what do you do? You tell the user "the rollback will affect more files than you currently see." ESR> The problem is not specific to Git. It's general to any changeset VCS, where ESR> rollback is necessarily a repository-oriented operation rather than a ESR> file-oriented one. Magit and the command line interface do all right. Ted