Update docs to clarify 'excludedRefsPattern' uses Java regex Document that remote.NAME.excludedRefsPattern accepts only Java regular expressions and that the expression must fully match the ref name. Change-Id: I95ba705a1c5ef0768359817299abcdb1dfdb9e24
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md index eb96d29..211bbcb 100644 --- a/src/main/resources/Documentation/config.md +++ b/src/main/resources/Documentation/config.md
@@ -731,12 +731,14 @@ By default, true. remote.NAME.excludedRefsPattern -: Refs that match the pattern provided using this config will not be replicated. - This option is useful when admins want to skip replicating certain refs, for - example refs created by plugins. Multiple excludedRefsPattern keys can be - supplied, to specify multiple patterns to match against. +: Refs that match the regular expression provided using this config will not + be replicated. Only Java regular expressions are supported. The expression + must fully match the ref name. This option is useful when admins want to + skip replicating certain refs, for example refs created by plugins. Multiple + `excludedRefsPattern` keys can be supplied, to specify multiple regular + expressions to match against. - Do not exclude any refs pattern by default. + Do not exclude any refs by default. remote.NAME.urlDistributionStrategy : URL distribution strategy to use when a remote has multiple configured URLs.