git-hooks

Git hooks for my repositories
git clone https://git.tronto.net/git-hooks
Download | Log | Files | Refs | README

commit 07e4caa39d68d6bea50bc1314d09ca7961915556
parent 8dc1fb5391f8121925c418e1d5f617fc784d1be6
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Thu, 24 Nov 2022 00:38:02 +0100

fixed readme.md thing for sure this time

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

diff --git a/post-receive-stagit b/post-receive-stagit @@ -22,6 +22,7 @@ genstagit() { cd "$htdir" stagit -l 100 "$repo" git archive HEAD -o "$basedir/$name.zip" + git show master:README.md > file/README.md } cpindexfile() { @@ -36,7 +37,6 @@ cpstylefiles() { formatreadme() { cd "$htdir" - git show master:README.md > file/README.md printf '%s\n' \ g/class=\"line\"/d \ "/<pre id=\"blob\">" d d i "$(lowdown file/README.md)" . w \