Changeset - c6b4788337b5
[Not reviewed]
default
0 1 0
Mads Kiilerich - 5 years ago 2020-11-20 16:11:55
mads@kiilerich.com
Grafted from: 6435d7d4cfc9
repo-scan: overwrite_git_hooks also implies install_git_hooks

(Otherwise, we should probably report an error when ignoring it.)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/utils.py
Show inline comments
 
@@ -434,7 +434,7 @@ def repo2db_mapper(initial_repo_dict, re
 
                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)
 

	
0 comments (0 inline, 0 general)