From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: git push/pull Date: Sun, 06 Dec 2009 21:33:56 +0100 Message-ID: References: <9de1a5ef0912050009i59707986gb177505e04975e1b@mail.gmail.com> <9de1a5ef0912061121l2e4645c7q6ff334d57e4ec3bf@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 1260131671 4438 80.91.229.12 (6 Dec 2009 20:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 20:34:31 +0000 (UTC) Cc: Stefan Monnier , Emacs-Devel devel To: Fabian Ezequiel Gallina Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 06 21:34:23 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 1NHNo5-0000RV-Tb for ged-emacs-devel@m.gmane.org; Sun, 06 Dec 2009 21:34:14 +0100 Original-Received: from localhost ([127.0.0.1]:57440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHNo5-0004wS-Fh for ged-emacs-devel@m.gmane.org; Sun, 06 Dec 2009 15:34:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHNny-0004t0-Qk for emacs-devel@gnu.org; Sun, 06 Dec 2009 15:34:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHNnu-0004qS-80 for emacs-devel@gnu.org; Sun, 06 Dec 2009 15:34:06 -0500 Original-Received: from [199.232.76.173] (port=45718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHNnu-0004qP-2F for emacs-devel@gnu.org; Sun, 06 Dec 2009 15:34:02 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:43075) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHNnt-0007RN-LU for emacs-devel@gnu.org; Sun, 06 Dec 2009 15:34:01 -0500 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id C2A4B1C001A4; Sun, 6 Dec 2009 21:33:57 +0100 (CET) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id BC4FB90235; Sun, 6 Dec 2009 21:33:57 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id cJFRM4D7oNb0; Sun, 6 Dec 2009 21:33:56 +0100 (CET) Original-Received: from igel.home (DSL01.83.171.161.242.ip-pool.NEFkom.net [83.171.161.242]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 6 Dec 2009 21:33:56 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 7FD15CA28F; Sun, 6 Dec 2009 21:33:56 +0100 (CET) X-Yow: PUMP UP th' VOLUME! My BAGEL TOASTER is in tune with th' UNIVERSAL LIFE FORCE!! In-Reply-To: <9de1a5ef0912061121l2e4645c7q6ff334d57e4ec3bf@mail.gmail.com> (Fabian Ezequiel Gallina's message of "Sun, 6 Dec 2009 16:21:25 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:118345 Archived-At: Fabian Ezequiel Gallina writes: > + (setq available-repos > + (let ((table (list "."))) > + (with-temp-buffer > + (vc-git-command t nil nil "for-each-ref" "--format=%(refname)") > + (goto-char (point-min)) > + (while (re-search-forward "^refs/remotes/\\([^/]+\\).*$" nil t) > + (push (match-string 1) table))) > + table)) This is still wrong. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."