From: D. Ben Knoble Date: Tue, 27 Jan 2026 18:48:44 GMT Subject: Re: [PATCH] replay: drop rev-list formatting options from manual Message-ID: In-Reply-To: On Wed, Jan 21, 2026 at 3:03 PM D. Ben Knoble wrote: > > On Wed, Jan 21, 2026 at 11:26 AM Junio C Hamano wrote: > > > > Jean-Noël Avila writes: > > > > >> The original comes from f81a574f (doc: test linkgit macros for > > >> well-formedness, 2025-08-11); its author Cc'ed for better ideas. > > >> > > > > > > The initial motive for this script was to catch malformed linkgit > > > occurrences that were present in the docs: stray git-foo[1], without > > > the linkgit macro and misnamed gitlink:git-foo[1]. Not knowing what > > > would come next, the regex was coined very broad, with the assumed risk > > > of raising false positives. > > > > > > The issue here is in handling the ifdef macros which are block macros > > > and are more easily detected as such. I would reject preemtively lines > > > with '^ifn?def::' instead. > > > > Yup, that is much cleaner. Thanks! > > Thanks all. I always forget the documentation lint target. I'll try to > send a v3 this weekend, but travelling, so responses may be delayed. Looks like this was queued and merged. Thanks both!