That is a first step. I would also guess that enabling "pipefail"
should be similarly unproblematic.

Well, sure, it you want something like:

     last-two-commits:
        git log --oneline | head -n 2

to start failing (or not, depending on how many commit you have and how
large you pipe buffer is ¯\_(ツ)_/¯).  pipefail is situational at best
and I am somewhat skeptical about enabling it by default.

You got that wrong. The only purpose of 'pipefail' is to prevent ignoring 
errors from pipeline commands. The pipe buffer size does not affect it at all.

Regards,
  rdiez

Reply via email to