emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit 2bd1d82: magit-diff-wash-submodule: Account for


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 2bd1d82: magit-diff-wash-submodule: Account for empty commit messages
Date: Mon, 1 Nov 2021 14:58:03 -0400 (EDT)

branch: elpa/git-commit
commit 2bd1d823ddebb0cfef31a3338916aaef9ae01660
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-diff-wash-submodule: Account for empty commit messages
    
    Closes #4538.
---
 lisp/magit-diff.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 1a827f6..da89ec3 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2338,7 +2338,7 @@ section or a child thereof."
              (equal (match-string 1) module))
         (magit-bind-match-strings (_module range rewind) nil
           (magit-delete-line)
-          (while (looking-at "^  \\([<>]\\) \\(.+\\)$")
+          (while (looking-at "^  \\([<>]\\) \\(.*\\)$")
             (magit-delete-line))
           (when rewind
             (setq range (replace-regexp-in-string "[^.]\\(\\.\\.\\)[^.]"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]