]> git.ipfire.org Git - thirdparty/git.git/blame - hook.h
refs: print error message in debug output
[thirdparty/git.git] / hook.h
CommitLineData
5e3aba33
ÆAB
1#ifndef HOOK_H
2#define HOOK_H
3
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 */
9const char *find_hook(const char *name);
10
330155ed
ES
11/**
12 * A boolean version of find_hook()
13 */
14int hook_exists(const char *hookname);
15
5e3aba33 16#endif