gitolite-admin

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

commit b9897a8862dcc2c9eeaf11bb58c1afbccc2b7f98
parent 9a12e1fc42a76ecd86fa8655596608dde86f8fc4
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed,  8 May 2019 17:29:44 +0300

Actually

Diffstat:
Mconf/gitolite.conf | 1+
Mlocal/find_stagits.lua | 4+++-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/conf/gitolite.conf b/conf/gitolite.conf @@ -1,5 +1,6 @@ repo gitolite-admin RW+ = mike + option hook.post-receive = stagit repo medfall RW+ = mike diff --git a/local/find_stagits.lua b/local/find_stagits.lua @@ -12,7 +12,9 @@ for l in f:lines() do current_repos = repos elseif l == "\toption hook.post-receive = stagit" then for repo in current_repos:gmatch( "%S+" ) do - table.insert( cmd, "/var/git/repositories/" .. repo .. ".git" ) + if repo ~= "gitolite-admin" then + table.insert( cmd, "/var/git/repositories/" .. repo .. ".git" ) + end end end end