diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-24 09:19:42 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-24 09:19:42 +0200 |
| commit | 2b1ce0c7d9eb0db064fb1681f662cb78a963e7f5 (patch) | |
| tree | 37e5a544cb0744f50142385124d15986cc30b5e9 /lisp/magit-refs.el | |
| parent | f3b68649692d5f6b68c00d8401e551dd4e7fa884 (diff) | |
Use magit-insert-heading's new CHILD-COUNT argument
Diffstat (limited to 'lisp/magit-refs.el')
| -rw-r--r-- | lisp/magit-refs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 6a97319..1d71444 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -535,7 +535,7 @@ line is inserted at all." (when-let ((tags (magit-git-lines "tag" "--list" "-n" magit-buffer-arguments))) (let ((_head (magit-rev-parse "HEAD"))) (magit-insert-section (tags) - (magit-insert-heading "Tags:") + (magit-insert-heading (length tags) "Tags") (dolist (tag tags) (string-match "^\\([^ \t]+\\)[ \t]+\\([^ \t\n].*\\)?" tag) (let ((tag (match-string 1 tag)) @@ -616,7 +616,7 @@ line is inserted at all." (defun magit-insert-local-branches () "Insert sections showing all local branches." (magit-insert-section (local nil) - (magit-insert-heading "Branches:") + (magit-insert-heading t "Branches") (dolist (line (magit-refs--format-local-branches)) (pcase-let ((`(,branch . ,strings) line)) (magit-insert-section |
