The first .gitignore entry was "./build/*". A leading ./ is not a valid gitignore pattern, so it matched nothing and build/ turned up as untracked in every git status. Use build*/, which also covers the instrumented trees scripts/coverage.py and -DAKGL_COVERAGE=ON create. Nothing under a build* path is tracked, so this hides no existing file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
12 lines
510 B
Plaintext
12 lines
510 B
Plaintext
# A leading ./ is not a valid gitignore pattern, so "./build/*" matched nothing
|
|
# and every out-of-tree build tree showed up as untracked. This also covers the
|
|
# instrumented trees scripts/coverage.py and the AKGL_COVERAGE option create.
|
|
build*/
|
|
.aider*
|
|
*~
|
|
|
|
# Generated by configure_file into the build tree. include/ precedes the build
|
|
# tree on the include path, so a stray copy here would silently shadow the real
|
|
# one and pin every consumer to whatever version it was generated at.
|
|
include/akgl/version.h
|