emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b5284959466: * lisp/vc/vc-git.el (vc-git-revision-table): Reverse


From: Juri Linkov
Subject: master b5284959466: * lisp/vc/vc-git.el (vc-git-revision-table): Reverse the table (bug#64656).
Date: Mon, 6 Nov 2023 02:31:49 -0500 (EST)

branch: master
commit b52849594668799a40112e31d2086c4a6d966f94
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]