Re: git-apply(1): error: content/en/ports/_index.adoc: No such file or directory

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sat, 25 Mar 2023 21:25:38 UTC
On 25/03/2023 20:34, Yuri wrote:
> Graham Perrin wrote:
>> …
> The default value for stripping leading path components is 1, as usually
> the diff looks like:
>
> --- a/path/to/file
> +++ b/path/to/file
>
> ...and it's not there in the diff you are trying to apply.
>
> IOW, try specifying -p0.


Thanks! Pau Amma offered the same hint, with a relevant quote from the 
manual page.

Applied, committed: 
<https://github.com/freebsd/freebsd-doc/commit/7a2813099ba568b42014c14c0554d1153e685ca5>