aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/git.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-01 16:02:01 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-01 16:45:05 -0400
commitf41448d9caf591ba369bf319297d15552be94678 (patch)
tree2e969bd50f4d49a88ddcfa3b67528d43136bae72 /IkiWiki/Plugin/git.pm
parentbb394fdae8ba488f1031d6f053f1544c689a3628 (diff)
downloadikiwiki-f41448d9caf591ba369bf319297d15552be94678.tar
ikiwiki-f41448d9caf591ba369bf319297d15552be94678.tar.gz
rcs plugin loading reorg
Move rcs plugin load to loadplugins; move duplicate rcs detection logic out of individual plugins and into loadplugins. Avoids checkconfig failing when run twice.
Diffstat (limited to 'IkiWiki/Plugin/git.pm')
-rw-r--r--IkiWiki/Plugin/git.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm
index b683e4ec3..d1c1165e0 100644
--- a/IkiWiki/Plugin/git.pm
+++ b/IkiWiki/Plugin/git.pm
@@ -11,9 +11,6 @@ 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
sub import { #{{{
- if (exists $IkiWiki::hooks{rcs}) {
- error(gettext("cannot use multiple rcs plugins"));
- }
hook(type => "checkconfig", id => "git", call => \&checkconfig);
hook(type => "getsetup", id => "git", call => \&getsetup);
hook(type => "rcs", id => "rcs_update", call => \&rcs_update);