From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Thu, 26 Mar 2015 12:38:15 +0100 Message-ID: <87egoc56qg.fsf@gnu.org> References: <20150324163714.GA27775@thyrsus.com> <83y4mmpb1n.fsf@gnu.org> <87lhim9sqp.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427369935 12220 80.91.229.3 (26 Mar 2015 11:38:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 11:38:55 +0000 (UTC) Cc: esr@thyrsus.com, eliz@gnu.org, Richard Stallman , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 12:38:47 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 1Yb67X-0001ad-5h for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 12:38:43 +0100 Original-Received: from localhost ([::1]:43985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb67W-0006qo-CE for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 07:38:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb67C-0006oY-T2 for emacs-devel@gnu.org; Thu, 26 Mar 2015 07:38:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb67C-00049H-7Y for emacs-devel@gnu.org; Thu, 26 Mar 2015 07:38:22 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:55932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb676-000478-Ch; Thu, 26 Mar 2015 07:38:16 -0400 Original-Received: from thinkpad-t440p (dhcp25.uni-koblenz.de [141.26.71.25]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 80D6A1A84B2; Thu, 26 Mar 2015 12:38:15 +0100 (CET) Mail-Followup-To: Andreas Schwab , Richard Stallman , esr@thyrsus.com, eliz@gnu.org, emacs-devel@gnu.org In-Reply-To: (Andreas Schwab's message of "Thu, 26 Mar 2015 12:03:12 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 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:184314 Archived-At: Andreas Schwab writes: >> With all due respect, I think you are mistaken. C-x v v pushes by >> default [...] with Bzr, > > This is wrong. Just to elaborate: neither vc-bzr nor vc-git nor vc-hg (the DVCS interfaces) push on commit but our advertised bzr setup made bzr itself push on commit by default (because it was a bound branch). In the same way, you could set up a git post-commit hook that pushes if you wish by placing a scipt with contents --8<---------------cut here---------------start------------->8--- #!/bin/sh git push --8<---------------cut here---------------end--------------->8--- in .git/hooks/post-commit/. Bye, Tassilo