From 680aa2c2484f26e04864ca31f36413ef64145b4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 15 Feb 2011 23:07:38 +0000 Subject: [PATCH] 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". --- Porting/git-deltatool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.7.4