Code

diff-highlight: make perl strict and warnings fatal
[git.git] / contrib / diff-highlight / diff-highlight
index d8938982e413a9bf994bd12386121249c888649d..c3302dd8171c47ba89523123cbb7a0de0588971f 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/perl
 
+use warnings FATAL => 'all';
+use strict;
+
 # Highlight by reversing foreground and background. You could do
 # other things like bold or underline if you prefer.
 my $HIGHLIGHT   = "\x1b[7m";