wikidb.tracker.hooks_dir

wikidb.tracker

hooks_dir(git_dir, root) -> dir

Find the directory git runs hooks from

core.hooksPath moves the hooks out of the git directory, and a hook written to the default place would never run. A relative core.hooksPath is taken from root.