Skip loading of fetch refSpecs targets
When loading destination configurations, gracefully skip those targets
that have explicitly set fetch refSpecs since they do not constitute valid
targets to replicate to.
Endpoints configured to replicate via fetch refSpecs might be dealt with
by the pull-replication plugin instead.
Note: To ensure back compatibility, the absence of both push and fetch values
is still interpreted as push to refs/*:refs/* (or to +refs/*:refs/*,
when `gerrit.defaultForceUpdate` is true).
Feature: Issue 11775
2 files changed