Commit Graph

8 Commits

Author SHA1 Message Date
Brian McGee
3649e4789c
fix: support core.untrackedCache in git
Switches go-git to master for now until a new release is cut.

Related to: https://github.com/nix-community/infra/pull/1266

Fixes #293

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-17 09:38:22 +01:00
Brian McGee
24114f5e0c
feat: update go modules
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-17 09:21:21 +01:00
Brian McGee
a79ae9583c
feat: add cpu profile flag 2024-05-06 16:05:10 +01:00
Brian McGee
28ec6f8f92
feat: upgrade modules
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-03 13:35:30 +01:00
Brian McGee
5711caebb9 feat: support .gitignore files (#19)
Introduces a `--walk` flag which can be used to tell `treefmt` how to traverse the directory specified by `--tree-root`.

By default, it will attempt to use `git ls-files`. If this fails, it falls back to using the filesystem.

You can explicitly traverse the filesystem instead of using git by providing `--walk filesystem`.

Close #1

Reviewed-on: https://git.numtide.com/numtide/treefmt/pulls/19
Reviewed-by: Jonas Chevalier <zimbatm@noreply.git.numtide.com>
Co-authored-by: Brian McGee <brian@bmcgee.ie>
Co-committed-by: Brian McGee <brian@bmcgee.ie>
2024-01-11 20:52:22 +00:00
zimbatm
1019851207 chore: remove dependency on juju/errors (#11)
The package was created before Go introduced their own "errors"
package.

Trade the better juju errors semantic for a smaller dependency tree.

Reviewed-on: https://git.numtide.com/numtide/treefmt/pulls/11
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
Co-committed-by: zimbatm <zimbatm@zimbatm.com>
2024-01-02 10:33:50 +00:00
Brian McGee
9b84155265
feat: allow specifying formatters in cli
Closes #9
2023-12-25 12:26:18 +00:00
Brian McGee
6904097171
feat: initial import 2023-12-23 12:50:51 +00:00