aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2018-07-19 22:25:47 +0530
committerSitaram Chamarty <sitaramc@gmail.com>2018-07-19 22:25:47 +0530
commit1024c893e66f6059722ec6439ad1d808ebd5a995 (patch)
tree7b7510b7bf2a3cc762a15328dc5bb4749035bb3d
parentv3.6.8 (diff)
downloadgitolite-gentoo-1024c893e66f6059722ec6439ad1d808ebd5a995.tar.gz
gitolite-gentoo-1024c893e66f6059722ec6439ad1d808ebd5a995.tar.bz2
gitolite-gentoo-1024c893e66f6059722ec6439ad1d808ebd5a995.zip
autoflush stdout...
...to see stdout correctly (vis-a-vis stderr) in update hook and expand-deny-messages
-rw-r--r--src/lib/Gitolite/Hooks/Update.pm2
-rwxr-xr-xsrc/triggers/expand-deny-messages2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Gitolite/Hooks/Update.pm b/src/lib/Gitolite/Hooks/Update.pm
index 32cd6e0..2bc43a8 100644
--- a/src/lib/Gitolite/Hooks/Update.pm
+++ b/src/lib/Gitolite/Hooks/Update.pm
@@ -17,6 +17,8 @@ use Gitolite::Conf::Load;
use strict;
use warnings;
+$|++;
+
# ----------------------------------------------------------------------
sub update {
diff --git a/src/triggers/expand-deny-messages b/src/triggers/expand-deny-messages
index a8b2289..8a0452b 100755
--- a/src/triggers/expand-deny-messages
+++ b/src/triggers/expand-deny-messages
@@ -2,6 +2,8 @@
use strict;
use warnings;
+$|++;
+
# program name: expand-deny-messages
# DOCUMENTATION IS AT THE BOTTOM OF THIS FILE; PLEASE READ