From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 09:40:04 +0100 Organization: Probably a good idea Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427272835 32490 80.91.229.3 (25 Mar 2015 08:40:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 08:40:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 09:40:23 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 1YagrN-0005eC-6B for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 09:40:21 +0100 Original-Received: from localhost ([::1]:36825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YagrM-0004Xq-N4 for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 04:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yagr8-0004W6-4j for emacs-devel@gnu.org; Wed, 25 Mar 2015 04:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yagr4-00074P-QX for emacs-devel@gnu.org; Wed, 25 Mar 2015 04:40:06 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yagr4-00073L-K5 for emacs-devel@gnu.org; Wed, 25 Mar 2015 04:40:02 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yagqn-0005GM-G2 for emacs-devel@gnu.org; Wed, 25 Mar 2015 09:39:45 +0100 Original-Received: from rainey.bang.priv.no ([212.110.185.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Mar 2015 09:39:45 +0100 Original-Received: from sb by rainey.bang.priv.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Mar 2015 09:39:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rainey.bang.priv.no Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:D0f9ioEb1a07meLGIUh0WvdxgLA= 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:184200 Archived-At: >>>>> Richard Stallman : > I think that C-x v v, when it commits changes, should also push them. > This would make git more comparable to other version control systems. This completely breaks with the way git is expected to work. > Does anyone see a reason not to? Yes. 1. There may not be an upstream branch to push to, if this is a purely local branch 2. The local git may not be able to contact the upstream server at the commit time (the commit may be done offline or behind a firewall) 3. I may not want to push immediately, because what I do from a single file is a partial part of the changes and they need to be complete to work, so then I push when I have committed all of them and after I've done a bit of testing 4. I may not want to push immediately for different reasons (I'm waiting for someone else's changes to be committed and plan to merge them into mine, before publishing them to someone else) In short: git is distributed, this is a great advantage, and any move to force it into a centralized workflow should be um... discouraged.