Mercurial > emacs
diff lisp/vc-git.el @ 107363:3d000dfda7b0
vc-git.el (vc-git-revision-table): Include remote branches.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 10 Mar 2010 01:32:43 -0500 |
parents | 4e4364e2100c |
children | 1918e70c8b37 |
line wrap: on
line diff
--- a/lisp/vc-git.el Wed Mar 10 00:18:51 2010 -0500 +++ b/lisp/vc-git.el Wed Mar 10 01:32:43 2010 -0500 @@ -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))