aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-refs.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-06-23 15:35:19 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-06-23 15:35:19 +0200
commit196abe727054a440bf6262c5c254ad4565cbaa66 (patch)
tree14ccce8b6aa3b8f837c1413958f0412500683470 /lisp/magit-refs.el
parentbe549268313bdcc6008285312a4ac5367d3b4402 (diff)
Use string-join instead of mapconcat
Diffstat (limited to 'lisp/magit-refs.el')
-rw-r--r--lisp/magit-refs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el
index ee6b1e9..6a97319 100644
--- a/lisp/magit-refs.el
+++ b/lisp/magit-refs.el
@@ -309,7 +309,7 @@ Type \\[magit-reset] to reset `HEAD' to the commit at point.
(setq magit-refs-show-commit-count nil))
(magit-set-header-line-format
(format "%s %s" magit-buffer-upstream
- (mapconcat #'identity magit-buffer-arguments " ")))
+ (string-join magit-buffer-arguments " ")))
(magit-insert-section (branchbuf)
(magit-run-section-hook 'magit-refs-sections-hook))
(add-hook 'kill-buffer-hook #'magit-preserve-section-visibility-cache))
@@ -527,7 +527,7 @@ line is inserted at all."
(magit-insert-section (branchdesc branch t)
(magit-insert-heading branch ": " (car desc))
(when (cdr desc)
- (insert (mapconcat #'identity (cdr desc) "\n"))
+ (insert (string-join (cdr desc) "\n"))
(insert "\n\n")))))
(defun magit-insert-tags ()