No need to rescue Rugged::ConfigError in RepositoryMirroring
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
b5f899f6ed
commit
6e48cae27d
1 changed files with 0 additions and 3 deletions
|
@ -17,9 +17,6 @@ module RepositoryMirroring
|
|||
|
||||
raw_repository.rugged.config["remote.#{remote_name}.mirror"] = true
|
||||
raw_repository.rugged.config["remote.#{remote_name}.prune"] = true
|
||||
rescue Rugged::ConfigError
|
||||
# Ignore multivar errors when the config already exist
|
||||
# TODO: refactor/fix this
|
||||
end
|
||||
|
||||
def add_remote_fetch_config(remote_name, refspec)
|
||||
|
|
Loading…
Reference in a new issue