git-server

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

commit 1a35099e6865e1ab0b96643624cb1f3a5e8532d3
parent 770774c722949fc84ffd7ada51cbb9fe5b268868
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 19 Jun 2020 09:38:54 +0300

post-receive: sometimes I can amaze myself

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

diff --git a/post-receive b/post-receive @@ -27,7 +27,7 @@ done < mirrors # Generate files parsed by 'stagit'. [ -f owner ] || printf '%s\n' "$OWNER" > owner [ -f url ] || { - repo=$(realpath .); repo=${repo##*/} + repo=${PWD##*/} printf '%s\n' "$BASE_URL/$repo" > url }