tags 868871 patch
thanks
I have the same request -- I had been using:
git config --global pager.log 'perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less'
That way my diff-highlight script was always up to date.
I just APT-updated and it stopped working (since diff-highlight must now
be built, as of this commit [1]).
I think the following will resolve this, by running the diff-highlight
Makefile when the package is built (following the pattern in
debian/rules for other contrib things):
diff --git a/debian/rules b/debian/rules
index f132a2605..ea018298b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,6 +58,7 @@ build-stamp:
override_dh_auto_build-arch: build-stamp
$(MAKE) -C contrib/subtree all $(OPTS)
ln -s contrib/subtree/git-subtree
+ $(MAKE) -C contrib/diff-highlight $(OPTS)
override_dh_auto_test-arch:
test -z '$(TEST)' || \
[1]
https://github.com/git/git/commit/0c977dbc8180892af42d7ab9235fd3e51d6c4078