"R. Diez" <[email protected]> writes:

>> So as far as Automake-generated rules are concerned, I'd expect
>> "errexit" to be generally safe to enable.
>
> 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.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Reply via email to