git-hooks

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.tronto.net/git-hooks
Download | Log | Files | Refs | README

commit 3d5c94be4e903a689299a8347957bc4a7beb0a37
parent 03a68c82408cda204df37a05909fb841a5e9137f
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sun, 20 Nov 2022 23:47:51 +0100

Make hook executable

Diffstat:
Mpost-receive-stagit | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/post-receive-stagit b/post-receive-stagit @@ -91,8 +91,9 @@ if [ "$1" = "index" ]; then elif [ "$1" = "all" ]; then for g in *.git; do cd $g - printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" >> \ + printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" > \ hooks/post-receive + chmod +x hooks/post-receive $bindir/post-receive-stagit cd done