Merge branch 'master' of github.com:git/git
[alt-git.git] / hook.h
blob6aa36fc7ff9b07e9a97cbfccaa53b81452fe5b37
1 #ifndef HOOK_H
2 #define HOOK_H
4 /*
5 * Returns the path to the hook file, or NULL if the hook is missing
6 * or disabled. Note that this points to static storage that will be
7 * overwritten by further calls to find_hook and run_hook_*.
8 */
9 const char *find_hook(const char *name);
11 /**
12 * A boolean version of find_hook()
14 int hook_exists(const char *hookname);
16 #endif