diff options
author | Célestin Matte <celestin.matte@ensimag.fr> | 2013-06-14 15:50:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-14 09:02:15 -0700 |
commit | 668eec6f74b69f3a376edb5a32c4d0d2cc127e72 (patch) | |
tree | 1159f6fd5e8e8ec126686dc23febec2009bbd4fd | |
parent | 05d4c7b1c46b7a6cbc8f4c0403a6e208aea1c63c (diff) | |
download | git-668eec6f74b69f3a376edb5a32c4d0d2cc127e72.tar.gz git-668eec6f74b69f3a376edb5a32c4d0d2cc127e72.tar.xz |
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>
-rwxr-xr-x | contrib/mw-to-git/git-remote-mediawiki.perl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/git-remote-mediawiki.perl index 882da1b88..895e081b6 100755 --- a/contrib/mw-to-git/git-remote-mediawiki.perl +++ b/contrib/mw-to-git/git-remote-mediawiki.perl @@ -15,6 +15,7 @@ use strict; 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"; @@ -23,8 +24,6 @@ binmode STDOUT, ":utf8"; 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"; |