commit e8da0574c363469f53583b8f692e4fb71469f5e4
parent a421e7a9cdbcd2a01b3cc02c1e031e9e90c36923
Author: Joris Vink <joris@coders.se>
Date: Thu, 5 Jan 2023 22:57:14 +0100
remove post-receive hook on copy
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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