Revision 50b2d72e110cad39ecaf2322bfdf1b60cd13dd96 authored by Junio C Hamano on 19 January 2022, 20:48:46 UTC, committed by Junio C Hamano on 19 January 2022, 20:48:46 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e2724c1
hook.h
#ifndef HOOK_H
#define HOOK_H
/*
* Returns the path to the hook file, or NULL if the hook is missing
* or disabled. Note that this points to static storage that will be
* overwritten by further calls to find_hook and run_hook_*.
*/
const char *find_hook(const char *name);
/**
* A boolean version of find_hook()
*/
int hook_exists(const char *hookname);
#endif
Computing file changes ...