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: Wed, 25 Mar 2015 05:45:07 +0200 Message-ID: <83h9t9pwos.fsf@gnu.org> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <5511BB2A.2070909@dancol.org> <83oanip42b.fsf@gnu.org> <874mp9nc2k.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427255142 27154 80.91.229.3 (25 Mar 2015 03:45:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 03:45:42 +0000 (UTC) Cc: sva-news@mygooglest.com, dancol@dancol.org, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 04:45:33 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 1YacG3-0001Hu-GK for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 04:45:31 +0100 Original-Received: from localhost ([::1]:36003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacG2-00015A-I7 for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2015 23:45:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacFv-000154-Ds for emacs-devel@gnu.org; Tue, 24 Mar 2015 23:45:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YacFq-0000ee-OO for emacs-devel@gnu.org; Tue, 24 Mar 2015 23:45:23 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:53727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacFq-0000eD-GX for emacs-devel@gnu.org; Tue, 24 Mar 2015 23:45:18 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NLR001000Q8QS00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 25 Mar 2015 05:45:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLR0010113GLU70@a-mtaout23.012.net.il>; Wed, 25 Mar 2015 05:45:16 +0200 (IST) In-reply-to: <874mp9nc2k.fsf@uwakimon.sk.tsukuba.ac.jp> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:184195 Archived-At: > From: "Stephen J. Turnbull" > Cc: Daniel Colascione , > sva-news@mygooglest.com, > emacs-devel@gnu.org > Date: Wed, 25 Mar 2015 09:41:07 +0900 > > It never hurts to commit more often than you push, and many DVCS users > take advantage of that capability. Currently C-x v v serves both "I > only commit when I push" and "commit early, commit often" workflows. > It doesn't serve the former as well as it could. But if you make the > change Richard proposed, it doesn't serve the latter at all. I'm way beyond what Richard proposed, please read the rest of the thread. We could support the "commit much more often" workflows by having an option that determines whether and when to try pushing after a commit, one of the values could be 'never'. > If you make the "if uncommitted changes then commit else push" change, > I suspect it will embarrass users of branchy workflows frequently. > Currently C-x v v is a no-op if there are no uncommitted changes. With > the proposed change in workflow, it will push what is most likely an > in-progress state of the tree. Given an option, users can control that, I think. Also, a recent suggestion was to "git show" and offer a push from that display, instead of just pushing. Perhaps that's better, as it allows a decision point.