Second fix for the gitolite3 update hook
This commit is contained in:
parent
a0f3bc7aad
commit
b1725c6878
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ def check_update_hooks(gitdir, fix=False):
|
||||||
If it isn't, and if `fix` is True, this actually fixes the problem.
|
If it isn't, and if `fix` is True, this actually fixes the problem.
|
||||||
"""
|
"""
|
||||||
chained_hooks_dir = os.path.join(gitdir, 'hooks', 'update-chained.d')
|
chained_hooks_dir = os.path.join(gitdir, 'hooks', 'update-chained.d')
|
||||||
chained_hooks = {'update-gitolite': '/usr/share/gitolite/hooks/common/update',
|
chained_hooks = {'update-gitolite': '/etc/gitolite/hooks/common/update',
|
||||||
'update-block-push-origin': '/usr/share/git-core/update-block-push-origin',
|
'update-block-push-origin': '/usr/share/git-core/update-block-push-origin',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue