aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/git.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:07:48 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:09:34 -0400
commit4e1d7d8ff281777c53805072978d4718b8532863 (patch)
treea901c9933bfd7b014186059ce8d54aab973502a8 /IkiWiki/Rcs/git.pm
parent598a8ce1f7827fa18b288a1aee57967a39fcd36a (diff)
downloadikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar
ikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar.gz
fix use ordering
The recent setup revamp exposed some latent bugs in use/package ordering that caused some symbols to not the exported into the correct scope.
Diffstat (limited to 'IkiWiki/Rcs/git.pm')
-rw-r--r--IkiWiki/Rcs/git.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm
index 036900887..425536f62 100644
--- a/IkiWiki/Rcs/git.pm
+++ b/IkiWiki/Rcs/git.pm
@@ -1,13 +1,13 @@
#!/usr/bin/perl
+package IkiWiki;
+
use warnings;
use strict;
use IkiWiki;
use Encode;
use open qw{:utf8 :std};
-package IkiWiki;
-
my $sha1_pattern = qr/[0-9a-fA-F]{40}/; # pattern to validate Git sha1sums
my $dummy_commit_msg = 'dummy commit'; # message to skip in recent changes