aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-10-26 21:57:31 -0700
committerJunio C Hamano <gitster@pobox.com>2010-10-26 21:57:31 -0700
commit9b73ce74e6abfb45626bce7a21465e6db6302be0 (patch)
treeb42fdc0582602ccc0cbd61929140c3695520eb2c /contrib
parent329351feeb0c08c835ac4ff05f127fbfe42a78cf (diff)
parent3328acedc6104e3d46e8f0d26006d9650092ef3e (diff)
downloadgit-9b73ce74e6abfb45626bce7a21465e6db6302be0.tar.gz
git-9b73ce74e6abfb45626bce7a21465e6db6302be0.tar.xz
Merge branch 'ab/require-perl-5.8'
* 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 6c4cab363..b09ff8f12 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 3a5da4ab0..7f3afa5ac 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;