Re: [PATCH] git-help: Try to find html pages without the git- prefix
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 29, 2008, 04:45 UTC
- Message-ID
- <7vy76x8e0s.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200804290513.40948.chriscool@tuxfamily.org>
Christian Couder <chriscool@tuxfamily.org> writes:
Show 14 quoted lines
> We already have the following files following that scheme: > > gitk.txt > gitattributes.txt > gitignore.txt > gitcli.txt > gitmodules.txt > git.txt > > And for example the following commands are already working: > > $ git help -w gitmodules > $ git help -m gitmodules > $ man gitmodules
That is not surprise as gitattributes(5), gitignore(5) and gitmodules(5) work by design. They are valid manual pages in section 5 (file formats).
I am not sure about hooks let alone gitcli --- they are not something you would traditionally place in section 5.
It would be nice if "git help <any path you see in Documentation/>" worked as expected, although I personally tend to go to the *.txt files ;-)