From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Thu, 26 Mar 2015 12:52:20 +0100 Message-ID: <877fu4ascr.fsf@gmx.de> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <5511BB2A.2070909@dancol.org> <83619potuw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427370789 25979 80.91.229.3 (26 Mar 2015 11:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 11:53:09 +0000 (UTC) Cc: sva-news@mygooglest.com, Eli Zaretskii , dancol@dancol.org, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 12:53:00 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 1Yb6LH-0002JK-Jb for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 12:52:55 +0100 Original-Received: from localhost ([::1]:44013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb6LG-00032Y-UH for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 07:52:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb6L0-00031O-Sx for emacs-devel@gnu.org; Thu, 26 Mar 2015 07:52:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb6Kw-0001i7-O3 for emacs-devel@gnu.org; Thu, 26 Mar 2015 07:52:38 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:64289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb6Kw-0001h1-E3; Thu, 26 Mar 2015 07:52:34 -0400 Original-Received: from detlef.gmx.de ([79.195.20.186]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lu2F0-1Zb0Xj2EJa-011TPc; Thu, 26 Mar 2015 12:52:21 +0100 In-Reply-To: (Richard Stallman's message of "Thu, 26 Mar 2015 06:57:07 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:CwJVC9fbBjBohesVgxKDaC43dXYKJgnWJsfvvSDDnrEI2xW6piG Nzb9v2Jy1RP/iIK8xTZi3Z1bC5HHkJRFVcvLsAumbTAmnYEwRR2ry/xEEcO7TbV//DyMVxR 4Y43SyigicUiFtq7NHRrQT10qtEzrIXaKaQyN8u8GCAIlElHpCkE1HfVut7yzby/igPPCws HWkjYl4G7D36Z2JY9F6fg== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.22 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:184315 Archived-At: Richard Stallman writes: > > The notion of "commit" from RCS/CVS/SVN > > Also Bzr. When I was editing Emacs sources using Bzr, C-x v v > sent all my changes to the repository on Savannah. > > Perhaps this is because I made a "bound branch". I used Bzr that way > because I wanted the same simple behavior that I had had with CVS. > With Bzr, that was possible. Why shouldn't it be possible with Git? It is possible with Git. For Tramp, I'm in the same situation like you: it is hosted in a Git repository on savannah, and I want my local commits performed by C-x v v being pushed immediately. The trick is to tell Git that. I have added locally a small script .../tramp/.git/hooks/post-commit #!/bin/sh git push origin master ... and now I am happy. Best regards, Michael.