Git development
 help / color / mirror / Atom feed
* [PATCH] git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout.
@ 2008-08-05 14:54 Jim Meyering
  2008-08-05 15:28 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Meyering @ 2008-08-05 14:54 UTC (permalink / raw)
  To: git list


Signed-off-by: Jim Meyering <meyering@redhat.com>
---
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 (<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;
--
1.6.0.rc1.36.g5ff70

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-05 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05 14:54 [PATCH] git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout Jim Meyering
2008-08-05 15:28 ` Jeff King
2008-08-05 15:35   ` Jeff King
2008-08-05 15:44   ` Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox