git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash patches format


On Wed, May 30, 2018 at 04:59:15PM +0200, Christian Weisgerber wrote:
> Marty E. Plummer:
> 
> > Maintainers, I'd really like to hear your thoughts on this matter. If
> > the diffs are produced as -p1 unified diffs, then downstreams who do
> > convert from -p0 context won't have to, and distros who work around it
> > won't either.
> 
> Speaking in my capacity as the OpenBSD packager for bash, either
> way is fine.  We use the upstream patches as provided ("distribution
> patches").  These are applied with -p0 by default, but it's utterly
> trivial to specify -p1 if necessary.  The choice of context vs.
> unified diffs is immaterial; patch(1) handles both formats.
> 
Are they -p0 by default for all packages, or just for bash?
> -- 
> Christian "naddy" Weisgerber                          naddy at mips.inka.de