branch: elpa/magit
commit f5f26b449d78dc2b9ded48c99120748a20d9c1af
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit--git-wash: Insert empty line after error message
---
 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 5ec9021e91b..2c800f72a29 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -562,8 +562,7 @@ call function WASHER with ARGS as its sole argument."
     (when (stringp exit)
       (goto-char beg)
       (insert (propertize exit 'face 'error))
-      (unless (bolp)
-        (insert "\n")))
+      (insert (if (bolp) "\n" "\n\n")))
     (if (= (point) beg)
         (magit-cancel-section)
       (unless (bolp)

Reply via email to