Mercurial > kallithea
changeset 8773:c6b4788337b5
repo-scan: overwrite_git_hooks also implies install_git_hooks
(Otherwise, we should probably report an error when ignoring it.)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 20 Nov 2020 16:11:55 +0100 |
parents | 52816813cbec |
children | 5de682ee0b06 |
files | kallithea/lib/utils.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/utils.py Fri Nov 13 01:04:30 2020 +0100 +++ b/kallithea/lib/utils.py Fri Nov 20 16:11:55 2020 +0100 @@ -434,7 +434,7 @@ log.debug('Running update server info') git_repo._update_server_info() new_repo.update_changeset_cache() - elif install_git_hooks: + elif install_git_hooks or overwrite_git_hooks: if db_repo.repo_type == 'git': ScmModel().install_git_hooks(db_repo.scm_instance, force=overwrite_git_hooks)