From: Ævar Arnfjörð Bjarmason Date: Tue, 15 Feb 2011 23:07:38 +0000 (+0000) Subject: Porting/git-deltatool: print progress info to STDERR X-Git-Tag: accepted/trunk/20130322.191538~5539 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=680aa2c2484f26e04864ca31f36413ef64145b4d;p=platform%2Fupstream%2Fperl.git Porting/git-deltatool: print progress info to STDERR Print output that's just displaying the progress of the tool to STDERR instead of STDOUT. I can now do things like: git-deltatool --mode summary --type blocking | awk '{print $1}' And not have the first line be "Scanning". --- diff --git a/Porting/git-deltatool b/Porting/git-deltatool index 315cb7b..35156e8 100644 --- a/Porting/git-deltatool +++ b/Porting/git-deltatool @@ -177,7 +177,7 @@ sub update { sub _iterate_commits { my ($self, $fcn) = @_; my $type = $self->opt('type'); - say "Scanning for $type commits since " . $self->last_tag . "..."; + say STDERR "Scanning for $type commits since " . $self->last_tag . "..."; for my $log ( $self->find_commits($type) ) { redo unless $fcn->($log); }