ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Danny Hooper 89f5d16dc0 cli jj fix: add ability to configure multiple tools for different filesets
The high level changes include:
 - Reworking `fix_file_ids()` to loop over multiple candidate tools per file,
   piping file content between them. Only the final file content is written to
   the store, and content is no longer read for changed files that don't match
   any of the configured patterns.
 - New struct `ToolsConfig` to represent the parsed/validated configuration.
 - New function `get_tools_config()` to create a `ToolsConfig` from a `Config`.
 - New tests; the only old behavior that has changed is that we don't require
   `fix.tool-command` if `fix.tools` defines one or more tools. The general
   approach to validating the config is to fail early if anything is weird.

Co-Authored-By: Josh Steadmon <steadmon@google.com>
2024-07-25 13:40:18 -05:00
..
examples cli: uncapitalize op description of "workspace add" and custom command example 2024-07-24 18:06:09 +09:00
src cli jj fix: add ability to configure multiple tools for different filesets 2024-07-25 13:40:18 -05:00
testing fake-formatter: add --uppercase and --append formatting behaviors 2024-07-25 13:40:18 -05:00
tests cli jj fix: add ability to configure multiple tools for different filesets 2024-07-25 13:40:18 -05:00
build.rs
Cargo.toml cli: remove unused dependency on gix-filter 2024-07-17 11:53:51 +02:00
LICENSE