git-remote-mediawiki: move "use warnings;" before any instruction
Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Célestin Matte committed
Jun 14, 2013 at 15:50 UTC
668eec6f74b69f3a376edb5a32c4d0d2cc127e72
1 file changed
+1
-2
contrib/mw-to-git/git-remote-mediawiki.perl
+1
-2
@@ -15,6 +15,7 @@ use strict;
15
use MediaWiki::API;
16
use Git;
17
use DateTime::Format::ISO8601;
18
+use warnings;
19
20
# By default, use UTF-8 to communicate with Git and the user
21
binmode STDERR, ":utf8";
@@ -23,8 +24,6 @@ binmode STDOUT, ":utf8";
24
use URI::Escape;
25
use IPC::Open2;
26
26
-use warnings;
27
-
27
# Mediawiki filenames can contain forward slashes. This variable decides by which pattern they should be replaced
28
use constant SLASH_REPLACEMENT => "%2F";
29