gitolite-admin

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

commit b5dd86bba3cef523981387e22e0321df4ff6cde0
parent 396d6813f342e64d98c0b8b5c1375495cb9c4bd1
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun, 16 Sep 2018 14:28:47 +0300

.

Diffstat:
local/hooks/common/stagit | 10----------
local/hooks/repo-specific/stagit | 10++++++++++
2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/local/hooks/common/stagit b/local/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/repo-specific/stagit b/local/hooks/repo-specific/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 +