summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-09 10:35:21 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-09 10:35:21 -0800
commitfa8f1ca2a4c4ab37cc322341d543885057b7957c (patch)
treed7b7c0257afe1caa688bff567d50de3ae1eac34d /contrib
parent8828aa3418792ff9deb2ab264c6934a5d0bb15e0 (diff)
parent3328acedc6104e3d46e8f0d26006d9650092ef3e (diff)
downloadgit-fa8f1ca2a4c4ab37cc322341d543885057b7957c.tar.gz
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')
-rwxr-xr-xcontrib/examples/git-svnimport.perl2
-rwxr-xr-xcontrib/fast-import/import-directories.perl3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/examples/git-svnimport.perl b/contrib/examples/git-svnimport.perl
index 4576c4a862..ead4c04d3f 100755
--- a/contrib/examples/git-svnimport.perl
+++ b/contrib/examples/git-svnimport.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# This tool is copyright (c) 2005, Matthias Urlichs.
# It is released under the Gnu Public License, version 2.
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;