tags 905938 + moreinfo
quit

Hi Ben,

Ben Hutchings wrote:

> git-rebase(1) refers to
> /usr/share/doc/git/html/howto/revert-a-faulty-merge.html, but this
> filename does not exist in any package.  git-doc contains
> /usr/share/doc/git-doc/howto/revert-a-faulty-merge.html which is
> presumably the right file to refer to.

$ ls -ld /usr/share/doc/git/html
lrwxrwxrwx 1 root root 10 May 30  2017 /usr/share/doc/git/html -> ../git-doc

Is it configured differently on your machine?  This setup is from

 commit 894cf6b9c9cd7d9e783637a1033169a546c78276
 Author: Jonathan Nieder <[email protected]>
 Date:   Wed Jan 12 21:42:46 2011 -0600

     debian/rules: install /usr/share/doc/git/html -> ../git-doc symlink

     git documentation being installed by the git-doc package is an
     implementation detail that users shouldn't have to care about.
     After this change, all documentation can be found under
     /usr/share/doc/git.

Arguably it would be better to install directly into
/usr/share/doc/git/html, but that would have broken links (e.g.
kernel-handbook links to [1]).  Perhaps the package should install
docs directly to /usr/share/doc/git/html and put some symlinks in
/usr/share/doc/git-doc --- what do you think?

Thanks,
Jonathan

[1] file:///usr/share/doc/git-doc/git-bisect-lk2009.html

Reply via email to