ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/docs
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
..
design cleanup: leverage BoxStream/BoxFuture type aliases 2024-06-26 11:34:52 +09:00
technical
branches.md
cli-reference.md docs CLI Reference: make the warning in the beginning less scary 2024-06-15 20:30:40 -07:00
code-of-conduct.md
community_tools.md Add hunk.nvim to list of community tools 2024-07-22 15:29:54 -06:00
config.md cli jj fix: add ability to configure multiple tools for different filesets 2024-07-25 13:40:18 -05:00
config.toml
conflicts.md
contributing.md cli: include untracked remote branches in default immutable_heads() 2024-07-15 23:41:07 +09:00
design_doc_blueprint.md docs: Add a Design Doc blueprint. 2024-06-30 15:37:40 +02:00
design_docs.md docs: Add a Design Doc blueprint. 2024-06-30 15:37:40 +02:00
FAQ.md FAQ: Add some more variants on how to deal with temporary files 2024-07-11 20:01:57 +02:00
filesets.md cli: enable fileset by default 2024-07-24 10:49:46 +09:00
git-comparison.md docs: replace jj files -> jj file list 2024-06-24 21:01:55 -07:00
git-compatibility.md docs/git-comparison.md: update the Signed_commits bullet 2024-07-17 17:12:34 +02:00
github.md
glossary.md
index.md
install-and-setup.md
operation-log.md
related-work.md
revsets.md str_util: add regex pattern 2024-07-22 12:00:52 +09:00
sapling-comparison.md docs: explain that jj was started 3 years before Sapling announcement 2024-06-20 05:24:28 +09:00
templates.md templater: add commit.diff().<format>() methods 2024-07-17 18:52:49 +09:00
testimonials.md
tutorial.md cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
windows.md
working-copy.md