aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff-highlight/DiffHighlight.pm
diff options
context:
space:
mode:
authorScott Baker <scott@perturb.org>2026-03-23 02:02:02 -0400
committerJunio C Hamano <gitster@pobox.com>2026-03-23 07:42:26 -0700
commit550097a645348426a3e5944d0457925381ff8e23 (patch)
tree6b28002ed9061b859165b9057f6b98cc755172b2 /contrib/diff-highlight/DiffHighlight.pm
parent41529f967f919685a3294a9fc4b45140311bebae (diff)
downloadgit-550097a645348426a3e5944d0457925381ff8e23.tar.xz
diff-highlight: drop perl version dependency back to 5.8
The diff-highlight code does not rely on any perl features beyond what perl 5.8 provides. We bumped it to v5.26 along with the rest of the project's perl scripts in 702d8c1f3b (Require Perl 5.26.0, 2024-10-23). There's some value in just having a uniform baseline for the project, but I think diff-highlight is special here: - it's in a contrib/ directory that is not frequently touched, so there is little risk of Git developers getting annoyed that modern perl features are not available - it provides a module used by other projects. In particular, diff-so-fancy relies on DiffHighlight.pm but does not otherwise require a perl version more modern than 5.8. Let's drop back to the more conservative requirement. Signed-off-by: Scott Baker <scott@perturb.org> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/DiffHighlight.pm')
-rw-r--r--contrib/diff-highlight/DiffHighlight.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/diff-highlight/DiffHighlight.pm b/contrib/diff-highlight/DiffHighlight.pm
index f0607a4b68..a5e5de3b18 100644
--- a/contrib/diff-highlight/DiffHighlight.pm
+++ b/contrib/diff-highlight/DiffHighlight.pm
@@ -1,6 +1,6 @@
package DiffHighlight;
-require v5.26;
+require v5.008;
use warnings FATAL => 'all';
use strict;