Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2022 09:13:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268024] .hooks/pre-commit.d/check_portepoch broken on lines affecting PORTEPOCH comments
Message-ID:  <bug-268024-7788-SnkzwGURAF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268024-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268024-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268024

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

"^-[^#]*PORTEPOCH"=20=20

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

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

mfg Tobias

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268024-7788-SnkzwGURAF>