summaryrefslogtreecommitdiff
path: root/Porting/bisect-runner.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-12-17 09:25:32 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-17 09:25:32 +0100
commit56a20cc1a7036f2b16fa20ec767b07a8309c1cb6 (patch)
tree65cc141d9b47b4b3eb94ad904e01befa7d689542 /Porting/bisect-runner.pl
parent6863570cbaefb9b779c351701852267a918c10b0 (diff)
downloadperl-56a20cc1a7036f2b16fa20ec767b07a8309c1cb6.tar.gz
bisect-runner.pl should only dump out a failed patch once by default.
Only show the "converted to a context diff" version if it was actually converted to one before (attempted) application.
Diffstat (limited to 'Porting/bisect-runner.pl')
-rwxr-xr-xPorting/bisect-runner.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 45667fbeb8..28db89e094 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -678,7 +678,8 @@ sub apply_patch {
print $fh $patch_to_use;
return if close $fh;
print STDERR "Patch is <<'EOPATCH'\n${patch}EOPATCH\n";
- print STDERR "\nConverted to a context diff <<'EOCONTEXT'\n${patch_to_use}EOCONTEXT\n";
+ print STDERR "\nConverted to a context diff <<'EOCONTEXT'\n${patch_to_use}EOCONTEXT\n"
+ if $patch_to_use ne $patch;
die "Can't $what$files: $?, $!";
}