Skip to content

Commit

Permalink
git-remote-mediawiki: move "use warnings;" before any instruction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Célestin Matte authored and Junio C Hamano committed Jun 14, 2013
1 parent 05d4c7b commit 668eec6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/mw-to-git/git-remote-mediawiki.perl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use MediaWiki::API;
use Git;
use DateTime::Format::ISO8601;
use warnings;

# By default, use UTF-8 to communicate with Git and the user
binmode STDERR, ":utf8";
Expand All @@ -23,8 +24,6 @@
use URI::Escape;
use IPC::Open2;

use warnings;

# Mediawiki filenames can contain forward slashes. This variable decides by which pattern they should be replaced
use constant SLASH_REPLACEMENT => "%2F";

Expand Down

0 comments on commit 668eec6

Please sign in to comment.