X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a241942f17b8ffbc0d4f3251aad00708271b8344..b6774bc6afac48e2c0a122647edc1485e7174a6e:/IkiWiki/Plugin/git.pm diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index c976ca9a2..7a6a55495 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -1038,10 +1038,6 @@ sub rcs_preprevert ($) { my $failure; my @ret; eval { - IkiWiki::disable_commit_hook(); - push @undo, sub { - IkiWiki::enable_commit_hook(); - }; my $branch = "ikiwiki_revert_${sha1}"; # supposed to be unique push @undo, sub {