]> Sergey Matveev's repositories - public-inbox.git/commitdiff
solver: remove extra "^index $OID..$OID" line
authorEric Wong <e@80x24.org>
Sun, 20 Jan 2019 13:48:10 +0000 (13:48 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Jan 2019 20:22:45 +0000 (20:22 +0000)
It was harmless, besides wasting space and memory.

lib/PublicInbox/SolverGit.pm

index 612f495bd3bc2ba0c9a0d51b11a82a348865f72e..53a626261e58aecfa1580a31ace931783b098c05 100644 (file)
@@ -103,7 +103,7 @@ sub extract_diff ($$$$) {
 
                        push @$hdr_lines, $l;
                        $di->{hdr_lines} = $hdr_lines;
-                       print $tmp @$hdr_lines, $l or die "print(tmp): $!";
+                       print $tmp @$hdr_lines or die "print(tmp): $!";
 
                        # for debugging/diagnostics:
                        $di->{ibx} = $ibx;