Function: git-rebase--insert-descriptions
git-rebase--insert-descriptions is a byte-compiled function defined in
git-rebase.el.
Signature
(git-rebase--insert-descriptions ALIST)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-rebase.el
(defun git-rebase--insert-descriptions (alist)
(pcase-dolist (`(,cmd . ,desc) alist)
(insert (format (propertize "%s %s %s\n"
'font-lock-face 'font-lock-comment-face)
comment-start
(string-pad
(substitute-command-keys (format "\\[%s]" cmd)) 8)
(replace-regexp-in-string "#" comment-start desc)))))