Comment 8 for bug 1713690

Revision history for this message
Dan Watkins (oddbloke) wrote : Re: [Bug 1713690] Re: Restore /usr/share/doc/contrib/diff-highlight/diff-highlight

On Fri, Oct 12, 2018 at 07:18:51AM -0000, Georgi Georgiev wrote:
> Any reason why the executable bit of diff-highlight is stripped?
>
> If I run `sudo make -B -C /usr/share/doc/git/contrib/diff-highlight
> diff-highlight` the generated file is executable, but the one shipped
> with the package is not.

My configuration has been the following for a while (albeit commented
out due to this bug), which suggests that it wasn't previously
executable (and also demonstrates how to use it regardless :):

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