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

Re: [PATCH 2/7] git-bugreport.txt: fix reference to strftime(3)

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
May 18, 2020, 11:15 UTC
Message-ID
<CAN0heSpu7yjB0aJRuRhU+dncDryTRkMq4+B_D4BHBav5YoD1gw@mail.gmail.com>
In-Reply-To
<96735cc6-35d6-f94d-75d5-d6d4df1aefa0@gmail.com>
On Mon, 18 May 2020 at 12:54, Jean-Noël Avila <avila.jn@gmail.com> wrote:
Show 8 quoted lines
>
> On Mon, 18 May 2020, Martin Ågren, Eric Sunshine wrote:
> > On Sun, 17 May 2020 at 21:23, Eric Sunshine <sunshine@sunshineco.com> wrote:
> >> On Sun, May 17, 2020 at 2:52 PM Martin Ågren <martin.agren@gmail.com> wrote:
> >>> When we say "link:strftime[3]", it ends up rendered as "3[1]" and we
> >>> produce a footnote referring to the non-existing
> >>> file:///.../git-doc/strftime. Make sure we use gitlink, not link, to get
> >> s/gitlink/linkgit/
Show 5 quoted lines
> > Oops, thanks! At least the diff is correct.
>
> Not even sure of that: strftime is not an internal manpage, so for html
> target, we will end up with a hyperlink to an non-existing file
> strftime.html. So I would keep it as simple text.

That's a good point. I don't use the HTML versions myself, so I haven't thought about the *linking* nature much -- I just see the formatting. But you're right. Grepping around, we only seem to use linkgit to refer to our own docs. So this should probably just be "strftime(3)" as you say.

Thanks, Martin

Previous: Jean-Noël AvilaNext: Martin Ågren
Message 7 of 24 in “Documentation fixes for v2.27.0-rc0”
  1. 0/7 Documentation fixes for v2.27.0-rc0Martin Ågren, May 17, 2020
  2. 1/7 date-formats.txt: fix list continuationMartin Ågren, May 17, 2020
  3. 2/7 git-bugreport.txt: fix reference to strftime(3)Martin Ågren, May 17, 2020
  4. Eric SunshineMay 17, 2020
  5. Martin ÅgrenMay 17, 2020
  6. Jean-Noël AvilaMay 18, 2020
  7. Martin ÅgrenMay 18, 2020
  8. 3/7 git-commit-graph.txt: fix grammoMartin Ågren, May 17, 2020
  9. Derrick StoleeMay 18, 2020
  10. 4/7 git-commit-graph.txt: fix list renderingMartin Ågren, May 17, 2020
  11. 5/7 git-credential.txt: use list continuationMartin Ågren, May 17, 2020
  12. Carlo Marcelo Arenas BelónMay 18, 2020
  13. 6/7 git-sparse-checkout.txt: add missing 'Martin Ågren, May 17, 2020
  14. Derrick StoleeMay 18, 2020
  15. 7/7 rev-list-options.txtMartin Ågren, May 17, 2020
  16. Derrick StoleeMay 18, 2020
  17. Martin ÅgrenMay 18, 2020
  18. Junio C HamanoMay 18, 2020
  19. rev-list-options.txt: start a list for `show-pulls`Martin Ågren, May 25, 2020
  20. Derrick StoleeMay 26, 2020
  21. Martin ÅgrenMay 26, 2020
  22. Junio C HamanoMay 26, 2020
  23. Derrick StoleeMay 26, 2020
  24. Martin ÅgrenMay 26, 2020

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.