Re: git help error
- From
- Sergei Organov <osv@javad.com>
- Date
- Dec 4, 2007, 18:33 UTC
- Message-ID
- <874pey9uow.fsf@osv.gnss.ru>
- In-Reply-To
- <7v1wa25oqc.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 24 quoted lines
> "Aneesh Kumar" <aneesh.kumar@gmail.com> writes: > >> git help gives me the below error. >> >> [master@git]$ git help add >> No manual entry for git-add >> See 'man 7 undocumented' for help when manual pages are not available. >> [master@git]$ >> >> I have the git binaries installed via --prefix >> >> ./configure --prefix=/home/kvaneesh/bin-local/git/ >> and to see the man page i have to say >> >> man -M /home/kvaneesh/bin-local/git/share/man/ >> >> I guess git-help need to take care of the prefix. > > When you run "man" from the command line, can you say > > $ man git-add > > and make it work? If it fails the same way, then what you are missing > is MANPATH environment variable, isn't it?
I think what the OP asked for makes sense. git-help should better find corresponding version of manual pages automatically. This way, if one invokes different versions of git-help, he will get corresponding version of help text.
-- Sergei.