From 11b41eda3003c2c621b181574614b9208e68b80a Mon Sep 17 00:00:00 2001 From: CharlesKWON Date: Tue, 14 Apr 2026 10:12:11 +0900 Subject: [PATCH] chore(gitignore): exclude repo-root test scratch + DDL-bug macro filenames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two sources of cruft kept showing up in `git status` after running FiveSql2 tests from the repo directory: 1. Scratch tables from standalone bench PRGs (t.dbf, b.dbf, s.dbf, p.dbf). Anchored to root only so tracked fixtures in subdirs (area_a.dbf, customers.dbf, idxadv.dbf, ...) stay unaffected. 2. Literal filenames like `Lower(cTable) + "_pk.ntx".ntx` — this is a FiveSql2 DDL bug where a macro-substituted index filename fails to evaluate and ends up as the actual filename. Ignoring the `Lower*.ntx`/`Lower*.cdx` pattern keeps the garbage out of commits. The underlying DDL bug needs a separate fix. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitignore b/.gitignore index c99f2ce..28a6a59 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,17 @@ vendor/ # Reference projects (not part of Five source) ref/ + +# Ad-hoc test scratch at repo root. +# Existing tracked DBF fixtures (area_a.dbf, customers.dbf, idxadv.dbf, ...) +# remain tracked. These patterns keep new scratch tables out of the index +# when tests are accidentally run from the repo directory. +/t.dbf +/b.dbf +/s.dbf +/p.dbf +# Macro-unexpanded index filenames — signature of a FiveSql2 DDL bug where +# `Lower(cTable) + "_pk.ntx"` ends up as a literal filename. Keep the +# garbage out of commits; file a real bug to fix the DDL path. +Lower*.ntx +Lower*.cdx