git-hooks

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

commit 405e4031452cf4b26d84512969697295496f14a8
parent da45e6f702d1ad7b5a4f7ada303b39b5a748f8c8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed, 23 Nov 2022 00:07:03 +0100

Fixed download button

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

diff --git a/post-receive-stagit b/post-receive-stagit @@ -44,7 +44,7 @@ formatreadme() { adddownloadbutton() { cd "$htdir" - git archive HEAD --prefix="$name/" -o "$basedir/$name.zip" + git archive HEAD -o "$basedir/$name.zip" printf '%s\n' \ "/log\.html\">Log<\/a>" i \ "<a href=\"../$name.zip\">Download</a> |" . w \