gitolite-admin

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 1a36d82e163c0f70ce559ce585fac950dc21f5e9
parent 55eb840679359e06b5e9ecffa7e842954b48c6fc
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun, 16 Sep 2018 14:24:28 +0300

Move to local/hooks

Diffstat:
conf/gitolite.conf | 2+-
hooks/common/stagit | 10----------
local/hooks/common/stagit | 10++++++++++
3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/conf/gitolite.conf b/conf/gitolite.conf @@ -1,4 +1,4 @@ -LOCAL_CODE => "$rc{GL_ADMIN_BASE}" +LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local" repo gitolite-admin RW+ = mike diff --git a/hooks/common/stagit b/hooks/common/stagit @@ -1,10 +0,0 @@ -#! /bin/sh - -reponame="$(basename "$(pwd)" .git)" - -cd "/var/www/git/$reponame" -stagit "/var/git/repositories/$reponame.git/" -c .htmlcache -stagit-index /var/git/repositories/medfall.git /var/git/repositories/mudgangster.git /var/git/repositories/umbra.git > /var/www/git/index.html -find . -type f -print0 | xargs -0 chmod 644 -find . -type d -print0 | xargs -0 chmod 755 - diff --git a/local/hooks/common/stagit b/local/hooks/common/stagit @@ -0,0 +1,10 @@ +#! /bin/sh + +reponame="$(basename "$(pwd)" .git)" + +cd "/var/www/git/$reponame" +stagit "/var/git/repositories/$reponame.git/" -c .htmlcache +stagit-index /var/git/repositories/medfall.git /var/git/repositories/mudgangster.git /var/git/repositories/umbra.git > /var/www/git/index.html +find . -type f -print0 | xargs -0 chmod 644 +find . -type d -print0 | xargs -0 chmod 755 +