You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/05/12 07:22:44 UTC

[GitHub] [kafka] chia7712 commented on pull request #10671: MINOR: exclude all `src/generated` and `src/generated-test`

chia7712 commented on pull request #10671:
URL: https://github.com/apache/kafka/pull/10671#issuecomment-839530020


   > Thanks @chia7712 . Can you verify this by creating some test directories/file that follow this pattern, and make sure they don't show up? I had a vague impression that .gitignore files don't allow regular regexes and followed some niche syntax instead, but I'm not sure.
   
   the gitignore documentation (https://git-scm.com/docs/gitignore) has following example:
   `
   A leading "**" followed by a slash means match in all directories. For example, "**/foo" matches file or directory "foo" anywhere, the same as pattern "foo". "**/foo/bar" matches file or directory "bar" anywhere that is directly under directory "foo".
   `
   
   I add file to `src/generated` and `aaa/src/generated` and they are excluded.
   
   <img width="534" alt="ζˆͺεœ– 2021-05-12 δΈ‹εˆ3 19 00" src="https://user-images.githubusercontent.com/6234750/117934892-b7030880-b335-11eb-9e4c-a25aec6f399c.png">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org