From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Thu, 26 Mar 2015 14:36:18 +0000 Message-ID: <87twx7u8pp.fsf@isaac.fritz.box> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427377023 4765 80.91.229.3 (26 Mar 2015 13:37:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 13:37:03 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 14:36:54 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 1Yb7xm-0003xz-Gz for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 14:36:46 +0100 Original-Received: from localhost ([::1]:44553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb7xl-00080S-SU for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 09:36:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb7xX-0007yS-2c for emacs-devel@gnu.org; Thu, 26 Mar 2015 09:36:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb7xT-0004YS-SF for emacs-devel@gnu.org; Thu, 26 Mar 2015 09:36:31 -0400 Original-Received: from randomsample.de ([5.45.97.173]:43037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb7xT-0004Y2-Iu; Thu, 26 Mar 2015 09:36:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=S7o4dNH1QJPrOS/TvJ1Yz7J0c1Ow7GSuar9NywA4a0A=; b=jE9T1Iq1mPqhc8WXrjtbkMwn7S09ArIYGwDAx8PV1ooaajRBYhTVpOth7+WsrjyBTiktZu8o4mthN2iL5uj2YHuw9KGpwooEvYJnfU/9P/htGUgaFBRbATGPlIzu4t/E; Original-Received: from ip4d149227.dynamic.kabel-deutschland.de ([77.20.146.39] helo=isaac.fritz.box) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yb7xL-00041d-P9; Thu, 26 Mar 2015 14:36:19 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 26 Mar 2015 09:28:37 -0400") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:184327 Archived-At: Stefan Monnier writes: >> I used Bzr a few months ago, and my commits were pushed automatically. >> I never did an explicit push. > > That's because you used a "bound branch", which is a Bazaar feature that > lets you say that in this branch "bzr commit" should do both a commit > and a push. > > For some reason, Git hasn't acquired such a feature yet. > [ I'd love such a feature, especially if the destination of this > auto-push can be different from the destination of a plain "git push", > since that then allows to keep a remote copy of your local repository > in sync. ] Put whatever push command you like into .git/hooks/post-commit. -David