From: Nicholas Clark Date: Wed, 21 Nov 2007 18:06:35 +0000 (+0000) Subject: Make genlog 'unexpand -a' all the spaces into tabs, which results in X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=180751691f2d3ce5aee21a159b0ed993e3c0ab65;p=p5sagit%2Fp5-mst-13.2.git Make genlog 'unexpand -a' all the spaces into tabs, which results in smaller Changes files. p4raw-id: //depot/perl@32441 --- diff --git a/Porting/genlog b/Porting/genlog index 9926b37..610e976 100755 --- a/Porting/genlog +++ b/Porting/genlog @@ -16,6 +16,7 @@ # use Text::Wrap; +use Text::Tabs; $0 =~ s|^.*/||; unless (@ARGV) { @@ -107,11 +108,11 @@ else { } } next if ((not $change) or $skip); - print "_" x 76, "\n"; - printf < 25 && ($kind eq 'integrate' || $kind eq 'branch')) || @$files > 100; - print wrap(sprintf("%12s ", $editkind{$kind}), - sprintf("%12s ", $editkind{$kind}), - "@$files\n"); + $output .= wrap(sprintf("%12s ", $editkind{$kind}), + sprintf("%12s ", $editkind{$kind}), + "@$files\n"); } } + print unexpand($output); } }