summaryrefslogtreecommitdiff
path: root/contrib/fast-import/import-directories.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-09 10:35:21 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-09 10:35:21 -0800
commitfa8f1ca2a4c4ab37cc322341d543885057b7957c (patch)
treed7b7c0257afe1caa688bff567d50de3ae1eac34d /contrib/fast-import/import-directories.perl
parentcontrib/hooks/post-receive-email: fix return values from prep_for_email (diff)
parentperl: use "use warnings" instead of -w (diff)
downloadtgif-fa8f1ca2a4c4ab37cc322341d543885057b7957c.tar.xz
Merge branch 'ab/require-perl-5.8' into maint
* ab/require-perl-5.8: perl: use "use warnings" instead of -w perl: bump the required Perl version to 5.8 from 5.6.[21]
Diffstat (limited to 'contrib/fast-import/import-directories.perl')
-rwxr-xr-xcontrib/fast-import/import-directories.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fast-import/import-directories.perl b/contrib/fast-import/import-directories.perl
index 3a5da4ab00..7f3afa5ac4 100755
--- a/contrib/fast-import/import-directories.perl
+++ b/contrib/fast-import/import-directories.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#
# Copyright 2008-2009 Peter Krefting <peter@softwolves.pp.se>
#
@@ -140,6 +140,7 @@ by whitespace or other characters.
# Globals
use strict;
+use warnings;
use integer;
my $crlfmode = 0;
my @revs;