Code

git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout.
authorJim Meyering <jim@meyering.net>
Tue, 5 Aug 2008 14:54:42 +0000 (16:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Aug 2008 18:40:28 +0000 (11:40 -0700)
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl

index cacbfc0259fd1ae353117d93e345cd8c4dd41188..7e95fb3740cb631d65c1a0bf07a78e2f75324210 100755 (executable)
@@ -952,7 +952,7 @@ while (<CVS>) {
        } 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;