Ouss4 commented on issue #1363: URL: https://github.com/apache/incubator-nuttx/issues/1363#issuecomment-653780125
> This used to work fine before because arch/z80/src/.gitignore contained /*.asm which ignored the .asm files ONLY in that directory and not the lower level directories. We need to replicate that same behavior. We can chain patterns like the following: ```diff diff --git a/arch/z80/src/.gitignore b/arch/z80/src/.gitignore index b9a85219a9..829a4e917c 100644 --- a/arch/z80/src/.gitignore +++ b/arch/z80/src/.gitignore @@ -7,3 +7,5 @@ /*.mem /*.linkcmd /*.noi +!*.asm +/*.asm ``` First we undo the global *.asm ignore then we ignore *.asm only in the current directory. ---------------------------------------------------------------- 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: us...@infra.apache.org