commit | c57c48e1eba38aa2c9d68a968bfb3d608b5931d4 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca@gitent-scm.com> | Sat May 05 21:40:22 2012 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue May 08 09:39:28 2012 -0700 |
tree | 2e74346f30c6e1445226850bf73f5d473e048df2 | |
parent | 68e49477c45ce9e72dca0b49bb8976f4bec4a078 [diff] |
Set GERRIT_SITE in Gerrit Hooks as env. variable. Allows development of hooks parametrised on Gerrit location. This can be useful to allow hooks to load Gerrit configuration when needed (from $GERRIT_SITE) or even store their additional config files under $GERRIT_SITE/etc and retrieve them at startup. Change-Id: I642c73ab2a5efd875e17f384a0870893b8bbd3fe Signed-off-by: Luca Milanesio <luca.milanesio@gmail.com>