diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-16 17:26:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-16 17:26:20 -0400 |
commit | 654530fa8bb0937123ed526e3093170ef23f5295 (patch) | |
tree | aabce3b4b6148b0d7e3b443a25f36c15e10353a8 /doc/plugins | |
parent | 3aaa33064c4593941559f132632b9d19d9146271 (diff) | |
download | ikiwiki-654530fa8bb0937123ed526e3093170ef23f5295.tar ikiwiki-654530fa8bb0937123ed526e3093170ef23f5295.tar.gz |
Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git.
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/write.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index d6e6d8d1e..d2d1a6329 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -1259,6 +1259,20 @@ and an error message on failure. This hook and `rcs_preprevert` are optional, if not implemented, no revert web interface will be available. +### `rcs_find_changes($)` + +Finds changes committed since the passed RCS-specific rev. Returns +a hash of the files changed, a hash of the files deleted, and the +current rev. + +This hook is optional. + +### `rcs_get_current_rev()` + +Gets a RCS-specific rev, which can later be passed to `rcs_find_changes`. + +This hook is optional. + ### PageSpec plugins It's also possible to write plugins that add new functions to |