HomeFreeBSD

periodic: Make daily diff(1) output as small is possible

Description

periodic: Make daily diff(1) output as small is possible

Make, by default, daily diff(1) ignore whitespace changes and the unified output
a context of zero (0) lines. This reduces output of unrelated lines in e-mails
delivered to root.

PR: 270266
Approved by: jrm (mentor), karels
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D42762

(cherry picked from commit e2f6bafc3887c7752986526f3758525d24701fce)

Details

Provenance
michaeloAuthored on Nov 24 2023, 9:26 AM
Differential Revision
D42762: periodic: Make daily diff(1) output as small is possible
Parents
rG6455c2cf85a9: periodic: Make daily diff(1) flags configurable with daily_diff_flags
Branches
Unknown
Tags
Unknown