branch: elpa/git-commit commit 58ce563589864c6f962d1b8e0282be9b4f530b92 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-format-rev-summary: Cosmetics --- lisp/magit-git.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/magit-git.el b/lisp/magit-git.el index cc690ab267..842dc6ea66 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -2117,8 +2117,7 @@ Return a list of two integers: (A>B B>A)." (defun magit-format-rev-summary (rev) (--when-let (magit-rev-format "%h %s" rev) - (string-match " " it) - (magit--put-face 0 (match-beginning 0) 'magit-hash it) + (magit--put-face 0 (string-match " " it) 'magit-hash it) it)) (defvar magit-ref-namespaces