bugfix: smart http mode wasn't running pre_ and post_ git triggers
(while we're about it, we also steal Michael Brown's idea (patch #2 in [1] and get rid of GIT_HTTP_BACKEND). [1]: http://groups.google.com/group/gitolite/msg/adfae758dd28f2a8
This commit is contained in:
parent
6d057fb84c
commit
196706c145
3 changed files with 6 additions and 6 deletions
|
@ -46,7 +46,6 @@ cd $GITOLITE_HTTP_HOME
|
|||
HOME=$GITOLITE_HTTP_HOME gitolite setup -a admin
|
||||
|
||||
# insert some essential lines at the beginning of the rc file
|
||||
echo '$ENV{GIT_HTTP_BACKEND} = "/usr/libexec/git-core/git-http-backend";' > 1
|
||||
echo '$ENV{PATH} .= ":$ENV{GITOLITE_HTTP_HOME}/bin";' >> 1
|
||||
echo >> 1
|
||||
cat .gitolite.rc >> 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue