- if ($config{post_commit} && ! commit_hook_enabled()) {
- # optimisation for no-op post_commit
- exit 0;
- }
- elsif ($config{test_receive}) {
- # quick success if the user is trusted
- require IkiWiki::Receive;
- exit 0 if IkiWiki::Receive::trusted();
- }
-