From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 09:41:07 +0900 Message-ID: <874mp9nc2k.fsf@uwakimon.sk.tsukuba.ac.jp> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <5511BB2A.2070909@dancol.org> <83oanip42b.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1427244110 19858 80.91.229.3 (25 Mar 2015 00:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 00:41:50 +0000 (UTC) Cc: sva-news@mygooglest.com, Daniel Colascione , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 01:41:42 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 1YaZO8-0003s0-Ij for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 01:41:40 +0100 Original-Received: from localhost ([::1]:35303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaZO7-0006Md-Ha for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2015 20:41:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaZNt-0006Hs-Jz for emacs-devel@gnu.org; Tue, 24 Mar 2015 20:41:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaZNs-0001IP-Nm for emacs-devel@gnu.org; Tue, 24 Mar 2015 20:41:25 -0400 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:55754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaZNp-0001Es-11; Tue, 24 Mar 2015 20:41:21 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id BEC0F1C38D9; Wed, 25 Mar 2015 09:41:07 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id A48CA120EC9; Wed, 25 Mar 2015 09:41:07 +0900 (JST) In-Reply-To: <83oanip42b.fsf@gnu.org> X-Mailer: VM undefined under 21.5 (beta34) "kale" 83e5c3cd6be6 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 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:184190 Archived-At: Eli Zaretskii writes: > Users whose workflow is not DWIM should never use "C-x v v". "DWIM" is not a partial function with values of "I" bound to "Eli Zaretskii" (and not "RMS", for that matter). And in fact, many users have more than one workflow. If you're a core developer on one project, and J. Random Committer on another, you may have a rather branchy workflow on one, and a "lots of one-off commit-and-pushes" workflow on the other. 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. 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.