From: Joey Hess Date: Mon, 22 Oct 2007 00:04:26 +0000 (-0400) Subject: don't print \n between skipped repos X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/85ce2a20f76df1553adcda83897083f457761f61?ds=sidebyside;hp=-c don't print \n between skipped repos --- 85ce2a20f76df1553adcda83897083f457761f61 diff --git a/mr b/mr index 59d6a69..357b2d2 100755 --- a/mr +++ b/mr @@ -475,7 +475,6 @@ if ($jobs > 1) { else { foreach my $repo (@repos) { record($repo, action($action, @$repo)); - print "\n"; } } if (! @ok && ! @failed && ! @skipped) { @@ -653,7 +652,6 @@ sub mrs { #{{{ waitpid($active[$i][0], 0); print STDOUT $out[$i][0]; print STDERR $out[$i][1]; - print "\n"; record($active[$i][1], $? >> 8); splice(@fhs, $i, 1); splice(@active, $i, 1); @@ -674,9 +672,11 @@ sub record { #{{{ if ($ret == OK) { push @ok, $dir; + print "\n"; } elsif ($ret == FAILED) { push @failed, $dir; + print "\n"; } elsif ($ret == SKIPPED) { push @skipped, $dir;