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

Re: Suggestion: "man git clone"

From
Jeff King <peff@peff.net>
Date
Aug 21, 2008, 20:18 UTC
Message-ID
<20080821201828.GA28844@coredump.intra.peff.net>
In-Reply-To
<48ADCCB1.6040803@zytor.com>
On Thu, Aug 21, 2008 at 01:14:41PM -0700, H. Peter Anvin wrote:
Show 5 quoted lines
>> Ah, OK. My problem was that the pages actually need to be named "am.git",
>> etc. But with 'git' in the section field, "man git am" does work.
>> Unfortunately, it seems to break "man git". :(
>
> Yeah, that pretty much makes it not a general solution.
Oh, sorry, this was just me being incompetent. I was testing with
  MANSECT=git man git am
and of course
  MANSECT=git man git
broke because we are no longer looking in section "1".

Setting the sections properly (by adding "git" to /etc/manpath.config, or using MANSECT=1:git) and creating a linkfarm in .../man/mangit (with am.git pointing to ../man1/git-am.1) makes both "man git" and "man git am" work fine.

The changes to manpath.config make it a bit outside the scope of git's regular install, but maybe this is something distro people would want to do.

-Peff
Previous: H. Peter AnvinNext: Bert Wesarg
Message 9 of 29 in “Suggestion: "man git clone"”
  1. H. Peter AnvinAug 21, 2008
  2. Peter Valdemar Mørch (Lists)Aug 21, 2008
  3. H. Peter AnvinAug 21, 2008
  4. Avery PennarunAug 21, 2008
  5. H. Peter AnvinAug 21, 2008
  6. Jeff KingAug 21, 2008
  7. Jeff KingAug 21, 2008
  8. H. Peter AnvinAug 21, 2008
  9. Jeff KingAug 21, 2008
  10. Bert WesargAug 21, 2008
  11. A Large Angry SCMAug 22, 2008
  12. Federico LucifrediAug 21, 2008
  13. H. Peter AnvinAug 21, 2008
  14. Federico LucifrediAug 22, 2008
  15. Jeff KingAug 22, 2008
  16. Jeff KingAug 22, 2008
  17. Miklos VajnaAug 22, 2008
  18. Jeff KingAug 22, 2008
  19. Federico LucifrediAug 22, 2008
  20. Federico LucifrediAug 22, 2008
  21. Colin WatsonJun 28, 2009
  22. Federico LucifrediJul 6, 2009
  23. Federico LucifrediJul 6, 2009
  24. Federico LucifrediSep 4, 2008
  25. H. Peter AnvinSep 4, 2008
  26. Michael J GruberAug 22, 2008
  27. Derek FawcusAug 22, 2008
  28. Mikael MagnussonAug 22, 2008
  29. Matthieu MoyAug 25, 2008

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.