Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2022 21:39:23 +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-bHbKbTVxxV@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 #3 from Matthias Andree <mandree@FreeBSD.org> ---
(In reply to Tobias C. Berner from comment #2)
A diff comment line would not be matched by a *WORKING* grep regexp. The old
regexp was tripping grep up by ^\+PORTEPOCH, which caused GNU grep to ignore
this whole stuff. A comment would be ^-#.*PORTEPOCH or ^+#.*PORTEPOCH as ba=
sic
regular expression (grep without -E) and would not match.

--=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-bHbKbTVxxV>