diff options
author | Clemens Buchacher <clemens.buchacher@intel.com> | 2015-11-16 09:05:58 +0100 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-16 08:59:19 -0500 |
commit | af65f68cdf7540764583956e5819d85c5f6c74d1 (patch) | |
tree | d24339ac5e49e4236682967e331da5cf9ba3f766 /t/t9010-svn-fe.sh | |
parent | Git 2.6.3 (diff) | |
download | tgif-af65f68cdf7540764583956e5819d85c5f6c74d1.tar.xz |
allow hooks to ignore their standard input stream
Since ec7dbd145 (receive-pack: allow hooks to ignore its
standard input stream) the pre-receive and post-receive
hooks ignore SIGPIPE. Do the same for the remaining hooks
pre-push and post-rewrite, which read from standard input.
The same arguments for ignoring SIGPIPE apply.
Include test by Jeff King which checks that SIGPIPE does not
cause pre-push hook failure. With the use of git update-ref
--stdin it is fast enough to be enabled by default.
Signed-off-by: Clemens Buchacher <clemens.buchacher@intel.com>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t9010-svn-fe.sh')
0 files changed, 0 insertions, 0 deletions