summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-08 23:57:01 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-09 00:15:21 +0100
commitbcc6b2b9ee152cbb679642117ee191a383d359b0 (patch)
treed66b38ce303dd81e6afefc5302a61d9c1d627798
parent7d7daa4e8f1ecb9e2e7f9f72058cae8fc7ed907c (diff)
git-debrebase: Set $|
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>
-rwxr-xr-xgit-debrebase2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-debrebase b/git-debrebase
index f1ae053..fb6b79d 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -41,6 +41,8 @@ our ($opt_defaultcmd_interactive);
our $us = qw(git-debrebase);
+$|=1;
+
sub badusage ($) {
my ($m) = @_;
print STDERR "bad usage: $m\n";