]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/git.pm
t/git-cgi.t: fix race condition
[git.ikiwiki.info.git] / IkiWiki / Plugin / git.pm
index c976ca9a2e22cfdd3e154cbaddd5f3bfb6375f4d..7a6a554952079787f8d5c15b4c4f74159812d1c9 100644 (file)
@@ -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 {