From f2625ddf0d2164616f9de56d78c904cf8433f92d Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 31 Aug 2019 12:59:48 -0500 Subject: [PATCH] bin/diff-filter: Support session-level disable flag --- bin/diff-filter | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/diff-filter b/bin/diff-filter index 6adbd4a..1cc13c9 100755 --- a/bin/diff-filter +++ b/bin/diff-filter @@ -9,6 +9,7 @@ for f in \ /usr/share/git-core/contrib/diff-highlight/diff-highlight do test -x $f && \ + test -z $DIFFHIGHLIGHT_OFF && \ tee | $f && \ exit 0 done -- 2.45.2