From 54ccb65a09ba613bef7272d808e748126d280f8a Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Wed, 8 Nov 2017 15:49:24 -0800 Subject: [PATCH] Add existing repo_config to output_repos --- pre_commit/commands/autoupdate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pre_commit/commands/autoupdate.py b/pre_commit/commands/autoupdate.py index ca8f9bb1..08c694be 100644 --- a/pre_commit/commands/autoupdate.py +++ b/pre_commit/commands/autoupdate.py @@ -118,6 +118,7 @@ def autoupdate(runner, tags_only, repo=None): for repo_config in input_config['repos']: # Skip any repo_configs that aren't the specified repo if repo and repo != repo_config['repo']: + output_repos.append(repo_config) continue if is_local_repo(repo_config) or is_meta_repo(repo_config):