Merge pull request #3106 from nicholasferrer/fix/3061-commit-pathspec-leak

fix(commit): scope every commit call to its staged pathspec
This commit is contained in:
Tom Boucher
2026-05-06 20:55:30 -04:00
committed by GitHub
3 changed files with 170 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3106
---
**`gsd-sdk query commit` is now scoped to its own staged paths.** Pre-staged unrelated index entries (for example a prior `git rm`) no longer leak into the commit alongside the files passed via `--files`. The same scope guarantee now applies to the `.planning/` fallback, `--amend`, and `commit-to-subrepo`.