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 f1ae053317e7950367de5520fd8521b84cdc56fa..fb6b79d92a905239f88b8bdeb0dd9c8c1a7f9424 100755 (executable)
@@ -41,6 +41,8 @@ our ($opt_defaultcmd_interactive);
 
 our $us = qw(git-debrebase);
 
 
 our $us = qw(git-debrebase);
 
+$|=1;
+
 sub badusage ($) {
     my ($m) = @_;
     print STDERR "bad usage: $m\n";
 sub badusage ($) {
     my ($m) = @_;
     print STDERR "bad usage: $m\n";