]> git.ipfire.org Git - thirdparty/git.git/commit
lint-gitlink: preemptively ignore all /ifn?def|endif/ macros
authorJean-Noël Avila <jn.avila@free.fr>
Wed, 21 Jan 2026 13:27:05 +0000 (14:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Jan 2026 16:26:00 +0000 (08:26 -0800)
commit46933bf1825eb436b8e3ae6aba067344e0a8bfae
treefac6f750d11be955ee55da4a9cabc108d0fcf8c7
parentad228c24df15e96f98737a9751a455e278b62fcb
lint-gitlink: preemptively ignore all /ifn?def|endif/ macros

Instead of testing if the macro name is ifn?def:: as if it were a inline
macro, it is faster and safer to just ignore such block macro lines before
hand.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/lint-gitlink.perl