From b52849594668799a40112e31d2086c4a6d966f94 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 6 Nov 2023 09:27:48 +0200 Subject: [PATCH] * lisp/vc/vc-git.el (vc-git-revision-table): Reverse the table (bug#64656). --- lisp/vc/vc-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2