summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit3
1 files changed, 2 insertions, 1 deletions
diff --git a/dgit b/dgit
index b6d8158..f6c129a 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, $&;