Skip to content

Commit

Permalink
autoflush stdout...
Browse files Browse the repository at this point in the history
...to see stdout correctly (vis-a-vis stderr) in update hook and
expand-deny-messages
  • Loading branch information
sitaramc committed Jul 19, 2018
1 parent e126e97 commit 1024c89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/Gitolite/Hooks/Update.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ use Gitolite::Conf::Load;
use strict;
use warnings;

$|++;

# ----------------------------------------------------------------------

sub update {
Expand Down
2 changes: 2 additions & 0 deletions src/triggers/expand-deny-messages
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
use strict;
use warnings;

$|++;

# program name: expand-deny-messages

# DOCUMENTATION IS AT THE BOTTOM OF THIS FILE; PLEASE READ
Expand Down

0 comments on commit 1024c89

Please sign in to comment.