git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] replay: drop rev-list formatting options from manual

From
D. Ben Knoble <ben.knoble+github@gmail.com>
Date
Jan 27, 2026, 18:48 UTC
Message-ID
<CALnO6CC9HZw96EHVpLyaekSUe744zTwHzN0ZH2UhW42sxUDU3A@mail.gmail.com>
In-Reply-To
<CALnO6CDGan9k7pfrHcNG09hVLCrvGrJv5=G2O3Wgp4AT2i6reg@mail.gmail.com>

On Wed, Jan 21, 2026 at 3:03 PM D. Ben Knoble <ben.knoble+github@gmail.com> wrote:

Show 23 quoted lines
>
> On Wed, Jan 21, 2026 at 11:26 AM Junio C Hamano <gitster@pobox.com> wrote:
> >
> > Jean-Noël Avila <jn.avila@free.fr> 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!
Previous: D. Ben KnobleNext: D. Ben Knoble
Message 10 of 11 in “replay: drop rev-list formatting options from manual”
  1. replay: drop rev-list formatting options from manualD. Ben Knoble, Jan 20, 2026
  2. Junio C HamanoJan 20, 2026
  3. D. Ben KnobleJan 20, 2026
  4. Junio C HamanoJan 20, 2026
  5. Junio C HamanoJan 20, 2026
  6. Junio C HamanoJan 20, 2026
  7. Jean-Noël AvilaJan 21, 2026
  8. Junio C HamanoJan 21, 2026
  9. D. Ben KnobleJan 21, 2026
  10. D. Ben KnobleJan 27, 2026
  11. replay: drop rev-list formatting options from manualD. Ben Knoble, Jan 20, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.