From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: git push/pull Date: Sat, 05 Dec 2009 11:15:53 -0500 Message-ID: References: <9de1a5ef0912050009i59707986gb177505e04975e1b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260029773 21692 80.91.229.12 (5 Dec 2009 16:16:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 16:16:13 +0000 (UTC) Cc: Emacs-Devel devel To: Fabian Ezequiel Gallina Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 05 17:16:06 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGxIi-00066g-Ba for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 17:16:04 +0100 Original-Received: from localhost ([127.0.0.1]:34061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGxIi-0000Z1-10 for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 11:16:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGxIc-0000Yn-R1 for emacs-devel@gnu.org; Sat, 05 Dec 2009 11:15:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGxIY-0000YI-PP for emacs-devel@gnu.org; Sat, 05 Dec 2009 11:15:58 -0500 Original-Received: from [199.232.76.173] (port=48844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGxIY-0000YF-Lh for emacs-devel@gnu.org; Sat, 05 Dec 2009 11:15:54 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56539 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGxIY-0003VK-Lk for emacs-devel@gnu.org; Sat, 05 Dec 2009 11:15:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4EAJYVGktFpZ7i/2dsb2JhbACBTNNPhDMEih4 X-IronPort-AV: E=Sophos;i="4.47,347,1257138000"; d="scan'208";a="50750268" Original-Received: from 69-165-158-226.dsl.teksavvy.com (HELO pastel.home) ([69.165.158.226]) by ironport2-out.pppoe.ca with ESMTP; 05 Dec 2009 11:15:54 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DC02280B1; Sat, 5 Dec 2009 11:15:53 -0500 (EST) In-Reply-To: <9de1a5ef0912050009i59707986gb177505e04975e1b@mail.gmail.com> (Fabian Ezequiel Gallina's message of "Sat, 5 Dec 2009 05:09:39 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118307 Archived-At: > I love vc, the thing is I always wanted the hability to do git > push/pull from vc directly. So today I decided to implement it. That's great, thank you. > Below is the code, I sure there is a lot of room for improvement since > I consider an Emacs LISP newbie myself, but I guess is a good starting > point for a better implementation. I'll let git users decide whether they like your specific choices, but what I'd want on my side is to add support for it directly in vc.el (i.e. have `vc-push' and `vc-pull' commands which then delegate the core of the work to the backends. You don't have to implement any other backend than Git). Stefan