Skip to content

Commit 4853f2b

Browse files
authored
Update ignore logic explanation in dot-abapgit
Clarified ignore logic and provided examples for patterns.
1 parent 78b04aa commit 4853f2b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/user-guide/repo-settings/dot-abapgit.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,13 @@ files as well as repository configuration related to workflows like build or lin
151151

152152
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).
153153

154-
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.
154+
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.
155155

156-
Example: `/src/hr/zcl_confidential*` will ignore all classes in the `/src/hr` package that begin with `zcl_confidential`.
156+
Examples:
157+
158+
- `/src/hr/zcl_confidential*`: ignore all classes in the `/src/hr` package that begin with `zcl_confidential`.
159+
- `*.prog.abap`: ignore all programs (in all packages)
160+
- `*#namespc#cl_test.*`: ignore class `/namespc/cl_test` (in filenames namespace separators `/` are replaces with `#`)
157161

158162
## ABAP
159163

0 commit comments

Comments
 (0)