From 4853f2bea1be42c934f072de497e0805c59f77e8 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:29:21 -0400 Subject: [PATCH] Update ignore logic explanation in dot-abapgit Clarified ignore logic and provided examples for patterns. --- src/user-guide/repo-settings/dot-abapgit.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/user-guide/repo-settings/dot-abapgit.md b/src/user-guide/repo-settings/dot-abapgit.md index 04759d1a1..db6770425 100755 --- a/src/user-guide/repo-settings/dot-abapgit.md +++ b/src/user-guide/repo-settings/dot-abapgit.md @@ -151,9 +151,13 @@ files as well as repository configuration related to workflows like build or lin Assuming that the default starting folder `/src/` is used, any files in root `/` or any other folder than the starting folder are ignored automatically. Therefore it will not be necessary to list files of the root folder in the ignore list (and as a consequence, the default ignore list is empty). -The ignore logic is based on the "covers pattern" operator (not regex). A file is ignored, if the path and file cover at least one of the patterns listed in this setting. +The ignore logic is based on the "[CP - covers pattern](https://help.sap.com/doc/abapdocu_latest_index_htm/LATEST/en-US/ABENLOGEXP_STRINGS.html)" operator (note: it's not a Regex). A file is ignored, if the path and file cover at least one of the patterns listed in this setting. -Example: `/src/hr/zcl_confidential*` will ignore all classes in the `/src/hr` package that begin with `zcl_confidential`. +Examples: + +- `/src/hr/zcl_confidential*`: ignore all classes in the `/src/hr` package that begin with `zcl_confidential`. +- `*.prog.abap`: ignore all programs (in all packages) +- `*#namespc#cl_test.*`: ignore class `/namespc/cl_test` (in filenames namespace separators `/` are replaces with `#`) ## ABAP