aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-03-10 01:32:43 -0500
committerStefan Monnier2010-03-10 01:32:43 -0500
commit53ef91b163296083913d5c82ac202d75affcb5d1 (patch)
treecb724645c886948d18add37be4351fd329366c88
parentb41460aedee99aaf7fefe6b545a5737aa7d9d0af (diff)
downloademacs-53ef91b163296083913d5c82ac202d75affcb5d1.tar.gz
emacs-53ef91b163296083913d5c82ac202d75affcb5d1.zip
vc-git.el (vc-git-revision-table): Include remote branches.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-git.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1d5062660cf..d5ce272d128 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc-git.el (vc-git-revision-table): Include remote branches.
4
12010-03-10 Kim F. Storm <storm@cua.dk> 52010-03-10 Kim F. Storm <storm@cua.dk>
2 6
3 Animated image API. 7 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)."
673 (with-temp-buffer 673 (with-temp-buffer
674 (vc-git-command t nil nil "for-each-ref" "--format=%(refname)") 674 (vc-git-command t nil nil "for-each-ref" "--format=%(refname)")
675 (goto-char (point-min)) 675 (goto-char (point-min))
676 (while (re-search-forward "^refs/\\(heads\\|tags\\)/\\(.*\\)$" nil t) 676 (while (re-search-forward "^refs/\\(heads\\|tags\\|remotes\\)/\\(.*\\)$"
677 nil t)
677 (push (match-string 2) table))) 678 (push (match-string 2) table)))
678 table)) 679 table))
679 680