git-server

git server-side stuff | stagit
git clone git://git.ckyln.com/~cem/hooks.git
Log | Files | Refs | README

commit 770774c722949fc84ffd7ada51cbb9fe5b268868
parent 3e9aa6d333097d6d557254b7a3b2b4b5aaa63509
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 19 Jun 2020 08:42:56 +0300

post-receive: oops

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

diff --git a/post-receive b/post-receive @@ -72,7 +72,7 @@ ln -sf log.html index.html git show-ref --tags --heads | while read -r _ ref; do case "$ref" in refs/heads/*) recreate=1 ;; *) unset recreate; esac - tag=${file#refs/*/} + tag=${ref#refs/*/} tarball="$STAGIT_DIR/archive/$repository/$repository-$tag.tar.gz" [ "$recreate" != 1 ] && [ -f "$tarball" ] && continue