๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
1 messages
1 total messages Started by "D. Ben Knoble" Thu, 15 Oct 2026 16:58
Re: git help user-manual looks for incorrect filename
#602
Author: "D. Ben Knoble"
Date: Thu, 15 Oct 2026 16:58
52 lines
10770 bytes
Hi John

On Thu, Oct 15, 2026 at 3:50โ€ฏAM John Wilson <jwilso3@ed.ac.uk> wrote:
>
> Hi,
>
> I would like to raise this issue, as suggested when I erroneously posted on the git-for-windows repo (https://github.com/git-for-windows/git/issues/6466)
>
> ## Issue
>
> On Git for Windows git help user-manual looks for the wrong file.
> Git looks for gituser-manual.html, instead of user-manual.html.
>
> The Git User's Manual is installed as:
> `C:\Program Files\Git\mingw64\share\doc\git-doc\user-manual.html`
>
> However, git help user-manual fails with:
> `fatal: 'C:/Program Files/Git/mingw64/share/doc/git-doc/gituser-manual.html': documentation file not found.`

I don't think "git help" actually knows about the user-manual,
surprisingly. It's not in the list of "git help --guides".

You can do something like "xdg-open $(git
--html-path)/user-manual.html" (macOS: open; Windows: ???), but that's
not very easy to discover.

You can of course also access versions of that manual on
https://git-scm.com/ and http://git.github.io/htmldocs/.

Still, I've been wondering for a while about extending "git help" to
access more of the documents installed in --html-pathโ€ฆ

[later]

Ok, in this specific case, "git help --guides" lists whatever it can
find from the compile-time built command-list.h with CAT_guide (so we
could make that generator create an entry for the user manual?). But
when it comes to actually opening a document, we process the command
line through cmd_to_page() which adds the "git" prefix as a fallback
path. So any document in "git --html-path" that doesn't start with
"git" has to be opened in the rather obtuse workaround way I mentioned
earlier.

Hm.

-- 
D. Ben Knoble
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads