diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-04-28 18:56:17 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-04-28 18:56:17 +0200 |
| commit | dd14711edf616382d0fd103b09ce590304b0ebd5 (patch) | |
| tree | 12abc1f077089fb1d7ada86cba962ff71c9c6f77 /lisp/magit-refs.el | |
| parent | deb8ff710389382fcb73d2552587f04f4b92beed (diff) | |
magit-{branch-unshelve,insert-shelved-branches}: List newest first
Diffstat (limited to 'lisp/magit-refs.el')
| -rw-r--r-- | lisp/magit-refs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 3b07c78..024acdc 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -644,7 +644,7 @@ line is inserted at all." (when-let ((refs (magit-list-refs "refs/shelved/"))) (magit-insert-section (shelved nil) (magit-insert-heading t "Shelved branches") - (dolist (ref refs) + (dolist (ref (nreverse refs)) (magit-insert-section (shelved-branch ref t) (magit-insert-heading " " (magit--propertize-face (substring ref 13) 'magit-refname)) |
