HomeFreeBSD

MFC r367076: diff: don't force the format to 'context' with -p immediately

Description

MFC r367076: diff: don't force the format to 'context' with -p immediately

Instead, leave the fomat as unspecified (if it hasn't been) and use the
-p flag as a hint to 'context' if no other formatting option is specified.

This fixes diff -purw, used frequently by emaste, and matches the behavior
of its GNU counterpart.

PR: 250015

Details

Provenance
kevansAuthored on
Parents
rS367655: Add missing src.opts.mk include
Branches
Unknown
Tags
Unknown