]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-revision-table): Reverse the table (bug#64656).
authorJuri Linkov <juri@linkov.net>
Mon, 6 Nov 2023 07:27:48 +0000 (09:27 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 6 Nov 2023 07:27:48 +0000 (09:27 +0200)
lisp/vc/vc-git.el

index 9ec45c598936d95334d1d196aab8e4977a45e61a..707fc7cfc07b4a4352f6ce6f1ebbde1fb8e7f43d 100644 (file)
@@ -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