]> git.eshelyaron.com Git - emacs.git/commitdiff
vc-git.el (vc-git-revision-table): Include remote branches.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 10 Mar 2010 06:32:43 +0000 (01:32 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 10 Mar 2010 06:32:43 +0000 (01:32 -0500)
lisp/ChangeLog
lisp/vc-git.el

index 1d5062660cfedd20d394436fbe69210e1f800723..d5ce272d12836cad0e454d369fd01a79e795ff68 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-git.el (vc-git-revision-table): Include remote branches.
+
 2010-03-10  Kim F. Storm  <storm@cua.dk>
 
        Animated image API.
index 8799e15305f07746945e14c6820aae5f8ae65cc1..eab3b650fa438b46ae43c642b361bc964995fc5b 100644 (file)
@@ -673,7 +673,8 @@ or BRANCH^ (where \"^\" can be repeated)."
     (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))