feat: add jujutsu walker by delafthi · Pull Request #601 · numtide/treefmt

@delafthi mentioned this pull request

Jun 19, 2025

@delafthi delafthi changed the title feat(walk): add method to walk the filesystem with jujutsu feat: add jujutsu walker

Jun 19, 2025

jfly

@delafthi

- added jujutsu module similar to the git module, which provides the `IsInsideWorktree` function
- added jujutsu walker, with the following differences to the git walker
  - the list command does not update the index. thus, new files are not listed, the user has to add them to the index first by running a `jj` command
- added jujutsu walker test
- added jujutsu walker root test
- adapted config and docs

@delafthi delafthi marked this pull request as ready for review

July 5, 2025 14:26

@delafthi

Removed unnecessary unquoting logic for lines (file paths) starting with a quote.

@jfly jfly mentioned this pull request

Sep 22, 2025