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
On Fri, Oct 12, 2018 at 07:18:51AM -0000, Georgi Georgiev wrote: doc/git/ contrib/ diff-highlight
> Any reason why the executable bit of diff-highlight is stripped?
>
> If I run `sudo make -B -C /usr/share/
> 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] doc/git/ contrib/ diff-highlight/ diff-highlight. perl | less doc/git/ contrib/ diff-highlight/ diff-highlight. perl | less doc/git/ contrib/ diff-highlight/ diff-highlight. perl | less
diff = perl /usr/share/
log = perl /usr/share/
show = perl /usr/share/