From e8da0574c363469f53583b8f692e4fb71469f5e4 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Thu, 5 Jan 2023 22:57:14 +0100 Subject: [PATCH] remove post-receive hook on copy --- misc/hooks/post-receive | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/hooks/post-receive b/misc/hooks/post-receive index fdb03c3..a0862e7 100644 --- a/misc/hooks/post-receive +++ b/misc/hooks/post-receive @@ -38,6 +38,7 @@ function update_stagit { stagit $2 cp log.html index.html cp -R $2 ${STAGING}/${1}.git + rm ${STAGING}/${1}.git/hooks/post-receive chmod -R +rx ${STAGING}/${1}.git popd