I noticed that `gt modify` is now committing all f...
# report-bugs
r
I noticed that
gt modify
is now committing all files instead of only staged ones. Is this a behavior change or a bug? sad parrot
🐛 1
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
hey Ryan, what version of the CLI are you seeing this and were you using any flags? I believe without any flags it should only commit files that are already staged
r
Thank you for looking into this. I think this is not a Graphite bug. One of our tooling added all files into staged files on pre-commit hook after formatting. Fixed after I changed the tool to use
pnpm lint-staged
🙏
👍 1