-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Is your feature request related to a problem? Please describe.
I'm working with Jujutsu repositories, and currently, numtide/treefmt does not provide a dedicated walker for Jujutsu repositories (without co-location). As a result, treefmt does not correctly respect Jujutsu’s ignore files (local and global Git ignore files).
Describe the solution you'd like
I would like to see a dedicated walker for Jujutsu repositories in numtide/treefmt that fully respects Jujutsu's ignore mechanisms.
Describe alternatives you've considered
As an alternative, using a co-located Jujutsu repository alongside Git allows treefmt to use the existing Git walker. However, this setup introduces a slight overhead, as described here.
Additional context
Jujutsu’s workflow differs significantly from Git’s, which may cause differences in walker behavior. I have started experimenting with an implementation #601, although I lack Go experience and primarily copied, and adapted the existing Git walker by adjusting commands. I would welcome guidance or collaboration to develop a more idiomatic and robust implementation.