emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99636: vc-git.el (vc-git-revision-ta


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99636: vc-git.el (vc-git-revision-table): Include remote branches.
Date: Wed, 10 Mar 2010 01:32:43 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99636
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2010-03-10 01:32:43 -0500
message:
  vc-git.el (vc-git-revision-table): Include remote branches.
modified:
  lisp/ChangeLog
  lisp/vc-git.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-03-10 05:18:51 +0000
+++ b/lisp/ChangeLog    2010-03-10 06:32:43 +0000
@@ -1,3 +1,7 @@
+2010-03-10  Stefan Monnier  <address@hidden>
+
+       * vc-git.el (vc-git-revision-table): Include remote branches.
+
 2010-03-10  Kim F. Storm  <address@hidden>
 
        Animated image API.

=== modified file 'lisp/vc-git.el'
--- a/lisp/vc-git.el    2010-03-09 13:24:44 +0000
+++ b/lisp/vc-git.el    2010-03-10 06:32:43 +0000
@@ -673,7 +673,8 @@
     (with-temp-buffer
       (vc-git-command t nil nil "for-each-ref" "--format=%(refname)")
       (goto-char (point-min))
-      (while (re-search-forward "^refs/\\(heads\\|tags\\)/\\(.*\\)$" nil t)
+      (while (re-search-forward "^refs/\\(heads\\|tags\\|remotes\\)/\\(.*\\)$"
+                                nil t)
         (push (match-string 2) table)))
     table))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]