[Bug 1713690] Re: Restore /usr/share/doc/contrib/diff-highlight/diff-highlight

Joseph Lust 1713690 at bugs.launchpad.net
Sun Nov 8 16:40:38 UTC 2020


Same error:

git version 2.29.2
perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-gnu-thread-multi

Linux Mint 20.04 Ulyana
Kernel 5.4.0-52-generic

Setup:
~/.gitconfig
[pager]
  diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight.perl | less

ERROR:
Undefined subroutine &DiffHighlight::highlight_stdin called at /usr/share/doc/git/contrib/diff-highlight/diff-highlight.perl line 7.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1713690

Title:
  Restore /usr/share/doc/contrib/diff-highlight/diff-highlight

Status in git package in Ubuntu:
  Fix Released
Status in git source package in Bionic:
  Fix Released
Status in git package in Debian:
  New

Bug description:
  [ SRU Verification ]
  This is just a papercut, but diff-highlight was shipped built in the past (including in xenial), so dropping it in bionic was a regression.

  [ Regression Potential ]
  None, this is just shipping a built perl script in doc.

  [ Test Case ]
  Check that the file is now shipped and works when specified in the [pager] section as shown in the bug report.

  [ Original Report ]
  This was removed in my most recent upgrade on artful, 1:2.11.0-4 -> 1:2.14.1-1ubuntu3.

  This is particularly frustrating as it caused a bunch of git
  operations to start erroring for me, as I have the following in my
  .gitconfig:

  [pager]
   diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
   log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
   show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1713690/+subscriptions



More information about the foundations-bugs mailing list