diff options
| -rw-r--r-- | lisp/magit-diff.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index e229a92..86da796 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -2458,7 +2458,9 @@ keymap is the parent of their keymaps." (rename nil) (binary nil)) (magit-delete-line) - (while (not (or (eobp) (looking-at magit-diff-headline-re))) + (while (not (or (eobp) + (looking-at magit-diff-headline-re) + (looking-at magit-log-heading-re))) (cond ((looking-at "old mode \\(?:[^\n]+\\)\nnew mode \\(?:[^\n]+\\)\n") (setq modes (match-str 0))) |
