about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/SolverGit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm
index eab8459b..5ac27988 100644
--- a/lib/PublicInbox/SolverGit.pm
+++ b/lib/PublicInbox/SolverGit.pm
@@ -155,7 +155,7 @@ sub extract_diff ($$) {
                 # the meat of the diff, including "^\\No newline ..."
                 # We also allow for totally blank lines w/o leading spaces,
                 # because git-apply(1) handles that case, too
-                (?:^(?:[\@\+\x20\-\\][^\r\n]*|)$LF)+
+                (?:^(?:[\@\+\x20\-\\][^\n]*|)$LF)+
         )!smx or return;
 
         my $di = {