summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 12:42:14 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 12:42:14 +0100
commite71374a8a5b05cf5d9332d5ca0d215e3718fb52b (patch)
tree6e97a5baac99886fe4d41b3ec2d2dbb3559c4eb6
parent6cda33aa05897023e2a7b300dcbbf04a7d146bb7 (diff)
Set autoflush on stdout, to get better ordering of debugging etc. output when stdout is redirected.
-rw-r--r--debian/changelog7
-rwxr-xr-xdgit2
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4ac1598..be125f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dgit (0.16) unstable; urgency=low
+
+ * Set autoflush on stdout, to get better ordering of debugging
+ etc. output when stdout is redirected.
+
+ --
+
dgit (0.15) unstable; urgency=low
* Better handling of packages pushed using dgit and stuck in NEW.
diff --git a/dgit b/dgit
index 1838f2f..083086b 100755
--- a/dgit
+++ b/dgit
@@ -71,6 +71,8 @@ our $keyid;
our $debug = 0;
open DEBUG, ">/dev/null" or die $!;
+autoflush STDOUT 1;
+
our $remotename = 'dgit';
our @ourdscfield = qw(Dgit Vcs-Dgit-Master);
our $branchprefix = 'dgit';