commit 904b7088f0efd76d68e51d51d21cdc678cdfdd35 parent 5cf259f571b0a74d52f50e59a90f517dab663dd0 Author: Cem Keylan <cem@ckyln.com> Date: Fri, 28 Aug 2020 20:07:04 +0300 post-receive: run extra hook if available Diffstat:
M | post-receive | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/post-receive b/post-receive @@ -125,3 +125,6 @@ rm -f index.html lsindex "$STAGIT_DIR" > index.html ) done } + +# If a repository has an individual hook named post-receive.extra, run it. +[ -f hooks/post-receive.extra ] && . hooks/post-receive.extra