Add CMake build directory patterns to `.gitignore`
What changed, and why it matters
This commit only updates the `.gitignore` file, which tells Git which files and folders to ignore. It broadens the pattern for CMake build directories so more variations (like `build`, `build-release`, etc.) are ignored. There is no code change and no security impact.
No action required. This is a benign repository maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff changes one line in .gitignore from /build to /*build*, expanding ignored directory patterns for CMake build outputs. No source code, build scripts, cryptographic logic, or configuration handling is modified. This is a repository hygiene change with no security relevance.
Changed components
.gitignoreInspect captured patch +2 / −2
diff --git a/.gitignore b/.gitignore
index cae2821..fbc311d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,8 +52,8 @@ libsecp256k1.pc
### CMake
/CMakeUserPresets.json
-# Default CMake build directory.
-/build
+# CMake build directories.
+/*build*
### Python
__pycache__/
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.