From 53ef91b163296083913d5c82ac202d75affcb5d1 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 10 Mar 2010 01:32:43 -0500 Subject: [PATCH] vc-git.el (vc-git-revision-table): Include remote branches. --- lisp/ChangeLog | 4 ++++ lisp/vc-git.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1d5062660cf..d5ce272d128 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-03-10 Stefan Monnier + + * vc-git.el (vc-git-revision-table): Include remote branches. + 2010-03-10 Kim F. Storm Animated image API. diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 8799e15305f..eab3b650fa4 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -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)) -- 2.39.5