Bug 1410884 - git help --web doesn't work, looks in wrong directory
Summary: git help --web doesn't work, looks in wrong directory
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: git-core
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-06 17:30 UTC by Alan Jenkins
Modified: 2017-11-16 20:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-16 20:19:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alan Jenkins 2017-01-06 17:30:11 UTC
Description of problem:

`git help --web` complains:

 fatal: '/usr/share/doc/git': not a documentation directory.

The correct directory is /usr/share/doc/git-core-doc

$ find /usr/share/doc/git-core-doc -name *.html | wc
    235     235   11688

Version-Release number of selected component (if applicable):
git-core-2.9.3-1.fc25.x86_64

How reproducible: always

Steps to Reproduce: git help --web git

Actual results:
 fatal: '/usr/share/doc/git': not a documentation directory.

Expected results: opens documentation in a web browser

Additional information:

git appears designed to support changing the path at build time, so this shouldn't be particularly difficult to fix:

$ git --html-path
/usr/share/doc/git

Comment 1 Fedora End Of Life 2017-11-16 18:49:13 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Alan Jenkins 2017-11-16 20:19:57 UTC
Works in F26, at least.  Thanks Chris, or whoever fixed this :).


Note You need to log in before you can comment on or make changes to this bug.