Commit 53ef91b1 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

vc-git.el (vc-git-revision-table): Include remote branches.

parent b41460ae
2010-03-10 Stefan Monnier <>
* vc-git.el (vc-git-revision-table): Include remote branches.
2010-03-10 Kim F. Storm <>
Animated image API.
......@@ -673,7 +673,8 @@ or BRANCH^ (where \"^\" can be repeated)."
(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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment