Opened 8 years ago

Closed 7 years ago

#8341 closed bug (fixed)

Extended git help does not work

Reported by: Karvjorm Owned by: scottmc
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc: Karvjorm
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

If I try to use the following command on the command line

git help branch

I will receive the following error message:

warning: failed to exec 'man': No such file or directory
fatal: no man viewer handled the request

I'm using hrev43674.

Change History (4)

comment:1 by mmadia, 8 years ago

Owner: changed from bonefish to scottmc
Status: newassigned

To note, installoptionalpackage man doesn't help, as git doesn't include its man pages.

in reply to:  1 comment:2 by bonefish, 8 years ago

Keywords: git help branch removed
Version: R1/alpha3R1/Development

Replying to mmadia:

To note, installoptionalpackage man doesn't help, as git doesn't include its man pages.

I wonder why, but it could be because its configure determined that there's no man installed anyway.

I don't know, if this was a general opinion or not, but at least some ported software (e.g. gcc/binutils) tended to be built with HTML instead of man/info documentation. Which is why man isn't included. Unfortunately most packages at HaikuPorts are built the "standard" way, meaning that those come only with man/info documentation for which Haiku doesn't has a viewer by default.

So either HTML documentation is built for all ports and everything is configured to work seamlessly also in the console or man needs to be provided. Given our limited resources I guess the latter is the most reasonable approach ATM.

comment:3 by scottmc, 7 years ago

gitdoc was added in hrev44266, this should fix this ticket. Please recheck by using:

installoptionalpackage gitdoc

comment:4 by scottmc, 7 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.