aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-23 14:09:01 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-23 14:09:01 -0400
commit62962a470d48dd14ebcd39f1de37504abd2f77b5 (patch)
tree0237ddf45755bc8dd2f9e0d029f289169580f390 /ikiwiki.in
parentbdbbca09c3a18510429934ffbad846ae64d7edce (diff)
parent8821ba3a590ac25299f17c164f7d0755c5ea97e4 (diff)
downloadikiwiki-62962a470d48dd14ebcd39f1de37504abd2f77b5.tar
ikiwiki-62962a470d48dd14ebcd39f1de37504abd2f77b5.tar.gz
Merge branch 'master' into git-anon
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 873bde0df..22addb463 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -118,6 +118,12 @@ sub getconfig () { #{{{
error("WRAPPED_OPTIONS: $@");
}
delete $ENV{WRAPPED_OPTIONS};
+
+ # optimisation for no-op post_commit
+ if ($config{post_commit} && ! commit_hook_enabled()) {
+ exit 0;
+ }
+
loadplugins();
checkconfig();
}