Fix .idea directory not being ignored due to allowlist pattern

- Move .idea/ ignore rule after the !*/ allowlist directive
- Add **/.idea/ pattern to catch nested occurrences
- The !*/ rule was re-including directories, overriding the earlier ignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-01 14:44:31 +00:00
parent 2026591c42
commit 2e42caee0e

4
.gitignore vendored
View File

@@ -94,6 +94,10 @@ cmd/benchmark/data
!libsecp256k1.so !libsecp256k1.so
# ...even if they are in subdirectories # ...even if they are in subdirectories
!*/ !*/
# Re-ignore IDE directories (must come after !*/)
.idea/
**/.idea/
/blocklist.json /blocklist.json
/gui/gui/main.wasm /gui/gui/main.wasm
/gui/gui/index.html /gui/gui/index.html