Commit 22747048 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-insert-remote-branches: Guard against empty message

Fixes #3454, like 44f8e45d fixed #3382.
parent dc687d59
......@@ -562,7 +562,7 @@ line is inserted at all."
(make-string (max 1 (- magit-refs-primary-column-width
(length abbrev)))
(magit-log-propertize-keywords nil msg)))
(and msg (magit-log-propertize-keywords nil msg))))
(when (magit-buffer-margin-p)
(magit-refs--format-margin branch))
(magit-refs--insert-cherry-commits branch 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