chiark / gitweb /
git-debrebase: Set $|
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jul 2018 22:57:01 +0000 (23:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jul 2018 23:15:21 +0000 (00:15 +0100)
This will avoid pepeering everything with calls to flush.  Without it
some messages from ffq_check, say, can arrive after the stderr output
from a subsequent snags_maybe_bail, which is quite confusing.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index f1ae053..fb6b79d 100755 (executable)
@@ -41,6 +41,8 @@ our ($opt_defaultcmd_interactive);
 
 our $us = qw(git-debrebase);
 
+$|=1;
+
 sub badusage ($) {
     my ($m) = @_;
     print STDERR "bad usage: $m\n";