From: Mark Wooding Date: Tue, 29 Apr 2014 23:20:26 +0000 (+0100) Subject: Wrap long single-line comment messages. X-Git-Tag: cvs-to-git-conversion^2~2^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f1ec69ced69f349c300d71b62a75d5829b6ac2e0;p=adns.git Wrap long single-line comment messages. --- diff --git a/convert b/convert index 7541ff1..6c7278d 100755 --- a/convert +++ b/convert @@ -92,6 +92,12 @@ cat >$tmp/msg-filter <<'FEND' perl -ne ' $out .= $_; END { + if ($out !~ /\n.*\n/) { + $out = `fmt <<'\''EOF'\'' +$out +EOF +`; + } if ($out =~ m/^\@\@/s && ($out =~ m/^\+(?!u?adns).*\w.*$/m || $out =~ m/^\-(?!u?adns).*\w.*$/m)) {