From: Ian Jackson Date: Tue, 22 Oct 2013 09:25:22 +0000 (+0100) Subject: wip remote - better autoflushes X-Git-Tag: debian/0.17_experimental1~11 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=7b20daf717d8f5559908a794aab0425974934f47 wip remote - better autoflushes --- diff --git a/dgit b/dgit index b6d81587..f6c129a6 100755 --- a/dgit +++ b/dgit @@ -1404,7 +1404,7 @@ sub cmd_remote_push_responder { chdir $dir or die "$dir: $!"; $we_are_responder = 1; $debugprefix = ' '; - $|=1; + autoflush STDOUT 1; responder_send_command("dgit-remote-push-ready"); &cmd_push; } @@ -1775,6 +1775,7 @@ sub parseopts () { } elsif (s/^-D/-/) { push @ropts, $&; open DEBUG, ">&STDERR" or die $!; + autoflush DEBUG 1; $debug++; } elsif (s/^-N/-/) { push @ropts, $&;