[Bug 268024] .hooks/pre-commit.d/check_portepoch broken on lines affecting PORTEPOCH comments

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Nov 2022 09:13:57 UTC

--- Comment #2 from Tobias C. Berner <tcberner@freebsd.org> ---
hm, given comments are the issue maybe do 


in the regex instead of the "=.*"?

Because if you had a comment ala
# previously this was PORTEPOCH=3 with the old orgin foo/bar
that would still trip it erroneusly.

mfg Tobias

You are receiving this mail because:
You are on the CC list for the bug.