Commit 44f8e45d authored by Kyle Meyer's avatar Kyle Meyer

magit-insert-tags: guard against empty message

Fixes #3382.
parent 8734143a
......@@ -520,7 +520,8 @@ line is inserted at all."
(make-string (max 1 (- magit-refs-primary-column-width
(length tag)))
(magit-log-propertize-keywords msg))
(or (and msg (magit-log-propertize-keywords msg))
(when (and magit-refs-margin-for-tags (magit-buffer-margin-p))
(magit-refs--format-margin tag))
(magit-refs--insert-cherry-commits tag section)))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment