mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
vc-git.el (vc-git-revision-table): Include remote branches.
This commit is contained in:
parent
b41460aede
commit
53ef91b163
@ -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.
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user