# HG changeset patch # User Mads Kiilerich # Date 1605885115 -3600 # Node ID c6b4788337b540ea94c61d64c0db73bab030601e # Parent 52816813cbecd4ac6bb1d99e10c1a7fadacbc734 repo-scan: overwrite_git_hooks also implies install_git_hooks (Otherwise, we should probably report an error when ignoring it.) diff -r 52816813cbec -r c6b4788337b5 kallithea/lib/utils.py --- 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)