From: Jim Meyering Date: Tue, 05 Aug 2008 14:54:42 GMT Subject: [PATCH] git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout. Message-ID: <87zlnro6kt.fsf@rho.meyering.net> Signed-off-by: Jim Meyering --- I'm used to filtering git-cvsimport's noisy stderr, but this diagnostic appears on stdout. Looks like an oversight. Now that I'm using cvsps-2.2b1, I see tons of these. git-cvsimport.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-cvsimport.perl b/git-cvsimport.perl index e2664ef..e439202 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -952,7 +952,7 @@ while () { } elsif (/^-+$/) { # end of unknown-line processing $state = 1; } elsif ($state != 11) { # ignore stuff when skipping - print "* UNKNOWN LINE * $_\n"; + print STDERR "* UNKNOWN LINE * $_\n"; } } commit() if $branch and $state != 11; -- 1.6.0.rc1.36.g5ff70