Some git hooks can be passed additional information through
standard input (e.g., the pre-push hook), so this commit handles
that properly. Since stream data can be consumed only once but
multiple hooks may need to use it, capture the stream data once
and pipe it to each child process individually.
Coverage decreased (-0.9%) to 94.286% when pulling 8146487908b3fcbe3ae6e193810d4657724098f3 on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 8ea4514a9dc48e4662053d683f8ef8442a846f2d on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage decreased (-0.9%) to 94.286% when pulling 31edbf37eeb5856bceebec62885d66e504d74ee6 on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 3687cfb7871a22977246d33046ffc49506170ddc on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 3687cfb7871a22977246d33046ffc49506170ddc on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 3687cfb7871a22977246d33046ffc49506170ddc on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 3687cfb7871a22977246d33046ffc49506170ddc on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Coverage increased (+0.09%) to 95.238% when pulling 3687cfb7871a22977246d33046ffc49506170ddc on getsnoopy:master into 166b5694a83bc73a4ea63e017cfdb380af5f50c1 on tarmolov:master.
Some git hooks can be passed additional information through standard input (e.g., the pre-push hook), so this commit handles that properly. Since stream data can be consumed only once but multiple hooks may need to use it, capture the stream data once and pipe it to each child process individually.