~mdw
/
adns
/ 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]
/
convert
diff --git
a/convert
b/convert
index
eb1ca3c
..
7541ff1
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 $!;