改进内容:
1. 解决了因路径名称导致钩子设置的问题
https://github.com/purple-dragon/gitolite/commits/master 中 id 56f685...1144d887的commit即 "fix path to ensure replace in gl-system-instll work well"
2. 增加了将 gitolite提供的配置和钩子(/home/git/bin/gitolite/share/gitolite/conf and hooks目录)拷贝到$GL_ADMINDIR/hooks/ // GL_ADMINDIR == ~/.gitolite/
https://github.com/purple-dragon/gitolite/commits/master 中 id 13fdb5...ee8d05b9的commit即 "improve gl-install: copy hooks in package to"
3. 将各个repo的hook指向$GL_ADMINDIR/hooks中的钩子,而非原来的安装路径(如本文用的/home/git/bin/gitolite/share/gitolite/hooks/)下的钩子
https://github.com/purple-dragon/gitolite/commits/master 中 id a2ea64...a9d9c612的commit即 "do not use hooks in $GL_PACKAG