From: Juri Linkov Date: Mon, 6 Nov 2023 07:27:48 +0000 (+0200) Subject: * lisp/vc/vc-git.el (vc-git-revision-table): Reverse the table (bug#64656). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b52849594668799a40112e31d2086c4a6d966f94;p=emacs.git * lisp/vc/vc-git.el (vc-git-revision-table): Reverse the table (bug#64656). --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 9ec45c59893..707fc7cfc07 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1723,7 +1723,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"." "^refs/\\(heads\\|tags\\|remotes\\)/\\(.*\\)$"))) (while (re-search-forward regexp nil t) (push (match-string 2) table)))) - table)) + (nreverse table))) (defun vc-git-revision-completion-table (files) (letrec ((table (lazy-completion-table