MCPcopy Index your code
hub / github.com/git/git / run_hooks

Function run_hooks

hook.c:841–846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839}
840
841int run_hooks(struct repository *r, const char *hook_name)
842{
843 struct run_hooks_opt opt = RUN_HOOKS_OPT_INIT;
844
845 return run_hooks_opt(r, hook_name, &opt);
846}
847
848int run_hooks_l(struct repository *r, const char *hook_name, ...)
849{

Callers 2

do_commitFunction · 0.85
need_to_gcFunction · 0.85

Calls 1

run_hooks_optFunction · 0.70

Tested by

no test coverage detected