From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Thu, 26 Mar 2015 13:54:12 -0400 Message-ID: <87k2y3oda3.fsf@netris.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427392449 27082 80.91.229.3 (26 Mar 2015 17:54:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 17:54:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 18:54:08 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 1YbBye-0005uk-6d for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 18:53:56 +0100 Original-Received: from localhost ([::1]:45988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbByd-0005fB-CV for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 13:53:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbBya-0005cu-10 for emacs-devel@gnu.org; Thu, 26 Mar 2015 13:53:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbByX-0003jv-AD for emacs-devel@gnu.org; Thu, 26 Mar 2015 13:53:51 -0400 Original-Received: from world.peace.net ([50.252.239.5]:39291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbByX-0003jp-6s; Thu, 26 Mar 2015 13:53:49 -0400 Original-Received: from [10.1.10.78] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YbByQ-0001XM-MC; Thu, 26 Mar 2015 13:53:42 -0400 In-Reply-To: (Richard Stallman's message of "Tue, 24 Mar 2015 11:57:26 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 50.252.239.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:184345 Archived-At: Richard Stallman writes: > I think that C-x v v, when it commits changes, should also push them. If this change were made, many git users would accidentally push commits that they hadn't intended to push. Git users have a strong expectation that "committing" means only "to save locally in my private repo". It is common practice for Git users to make commits locally and then to post those commits to a mailing list for review before pushing. It is also common to create several commits locally before they are fully tested, before pushing. To make matters worse, pushing to a public repo is usually an irreversible operation. Often the best that can be done is to "revert" it, which means to add another commit that reverses the changes made in the first commit. Both remain in the commit log forever, which is a permanent embarrassment for whomever made the erroneous push. If your proposal were accepted, and it caused me to accidentally push a commit to a public repo, I would be _very_ angry at the Emacs developers for doing such a thing. I would lose trust in Emacs. Mark