git-hooks

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

commit 99238e0e041c73c246bb647177b5f8b2911ab45e
parent 405e4031452cf4b26d84512969697295496f14a8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed, 23 Nov 2022 00:12:52 +0100

Fixed an older bug with download button

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

diff --git a/post-receive-stagit b/post-receive-stagit @@ -47,7 +47,7 @@ adddownloadbutton() { git archive HEAD -o "$basedir/$name.zip" printf '%s\n' \ "/log\.html\">Log<\/a>" i \ - "<a href=\"../$name.zip\">Download</a> |" . w \ + "<a href=\"$baseurl/$name.zip\">Download</a> |" . w \ | ed -s "$1" > /dev/null }