summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 10:25:22 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 10:25:22 +0100
commit7b20daf717d8f5559908a794aab0425974934f47 (patch)
tree61ed59ac955f0f67b82b9f48256a27c0e2b0f65a /dgit
parent863475c001c7846fe4de4310f517207bd8178871 (diff)
wip remote - better autoflushes
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, $&;