gitolite-admin

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

commit 6e7cfeb3f2756a037cd4eaeabd060556c93543cb
parent 221b3d0a864fc45a9f8a197173e4086b6c91f763
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun, 16 Sep 2018 14:32:32 +0300

.

Diffstat:
local/hooks/repo-specific/stagit | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/local/hooks/repo-specific/stagit b/local/hooks/repo-specific/stagit @@ -1,9 +1,13 @@ #! /bin/sh +pwd reponame="$(basename "$(pwd)" .git)" +mkdir -p "/var/www/git/$reponame" 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