I'm trying to configure my project to just check t...
# ktfmt
t
I'm trying to configure my project to just check the staged files in a git pre-commit hook, but I'm struggling on the syntax for --include-only. Can somebody provide an example of how to pass the results of
git diff --name-only --cached
to the pre-commit script?
n
You may have more luck on this issue asking another channel. I'd guess there is something out there in StackOverflow/Google about this, but I haven't search to be able to assert that.
t
I've tried searching for it, but I couldn't find the right formula that worked.
😣 1