Re: workflow for managing ports patches against /usr/ports in poudriere

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Fri, 27 Mar 2026 17:35:06 UTC
On Fri, Mar 27, 2026 at 6:45 PM void <void@f-m.fm> wrote:
>
> The problem the above seeks to address is that, if /usr/ports is directly patched,
> when the time comes to update the tree, git pull --ff-only complains.
> Unless it's stashed then updated then un-stashed.

I make proper commits and then use

git pull --rebase --autostash

Once patches are integrated upstream, the pull operation just discards
those commits.