Brian McGee
Brian McGee
I like this idea as well
I think the simplest solution here is to allow customising the args being passed to `git ls-files`: https://github.com/numtide/treefmt/blob/cb8d3fa0704151c344e47459f51d43ad05744ef3/walk/git.go#L41 Something like `--git-ls-args "cached"` which would override the default args we are...
Should be easy enough to fix, I've added it to my list for this week.
Looking at this a bit more closely, I think what you're seeing is this: https://github.com/numtide/treefmt/issues/573. I believe we will respect excludes based on the extension, but because we currently don't...
#53 relates to `v1` and we don't have the equivalent in `v2`. I think this can only be properly addressed when the discussions around #586 come to a conclusion.
Let's see if we can have a quick chat sometime this week. Feels like my smooth brain is just not grasping the nuance on this one.
I completely forgot about this one. I need to test if it's still an issue in `2.4.0` as I did some fixes wrt `stdin`.
@infinisil @MattSturgeon I've done some quick manual testing with this, I still need to add some unit tests, though. Would you mind giving it a quick smoke test: `treefmt --git-mergetool...
I spoke with @MagicRB, and he explained the problem in more detail. I think this is a Haskell/Emacs problem, not a `treefmt` problem and should be handled in a wrapper...