chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid printing removed lines unless necessary; avoid version headers.
[adns.git]
/
convert
diff --git
a/convert
b/convert
index eb1ca3c46772a8fb2b53eeed71428683bd81c515..7541ff12c258bc65ce3c53e71115103a09e4bd23 100755
(executable)
--- a/
convert
+++ b/
convert
@@
-93,7
+93,8
@@
perl -ne '
$out .= $_;
END {
if ($out =~ m/^\@\@/s &&
- $out =~ m/^(?:\+ )?[^\@ ].*\w.*$/m) {
+ ($out =~ m/^\+(?!u?adns).*\w.*$/m ||
+ $out =~ m/^\-(?!u?adns).*\w.*$/m)) {
print $&, "\n\n" or die $!;
}
print $out or die $!;