ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/tests
Yuya Nishihara d1912bf016 templater: add commit.diff().<format>() methods
This patch adds TreeDiff template type to host formatting options. The main
reason of this API design is that diff formats have various incompatible
parameters, so a single .diff(files, format[, options..]) method would become
messy pretty quickly. Another reason is that we can probably add custom
summary templating support as diff.files().map(|file| file.path()..).

RepoPathUiConverter is passed to templater explicitly because the one stored
in RevsetParseContext is behind Option<_>.
2024-07-17 18:52:49 +09:00
..
common
cli-reference@.md.snap cli: recursively create clone destination path 2024-07-07 23:02:41 +02:00
runner.rs backout: add initial tests 2024-07-05 17:11:37 +08:00
test_abandon_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_acls.rs diff: fix typo in Git diff "index old..new" header 2024-07-15 14:45:59 +09:00
test_advance_branches.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_alias.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_backout_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_branch_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_builtin_aliases.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_checkout.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_commit_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_commit_template.rs templater: add commit.diff().<format>() methods 2024-07-17 18:52:49 +09:00
test_concurrent_operations.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_config_command.rs windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
test_copy_detection.rs
test_debug_command.rs
test_describe_command.rs windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
test_diff_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_diffedit_command.rs diff: fix typo in Git diff "index old..new" header 2024-07-15 14:45:59 +09:00
test_duplicate_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_edit_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_file_chmod_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_file_print_command.rs
test_fix_command.rs
test_generate_md_cli_help.rs
test_git_clone.rs cli: recursively create clone destination path 2024-07-07 23:02:41 +02:00
test_git_colocated.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_fetch.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_import_export.rs
test_git_init.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_push.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_remotes.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_submodule.rs
test_gitignores.rs diff: fix typo in Git diff "index old..new" header 2024-07-15 14:45:59 +09:00
test_global_opts.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_immutable_commits.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_init_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_interdiff_command.rs diff: fix typo in Git diff "index old..new" header 2024-07-15 14:45:59 +09:00
test_log_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_move_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_new_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_next_prev_commands.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_obslog_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_operations.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_parallelize_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_rebase_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_repo_change_report.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_resolve_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_restore_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_revset_output.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_root.rs
test_shell_completion.rs
test_show_command.rs
test_sparse_command.rs windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
test_split_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_squash_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_status_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_tag_command.rs
test_templater.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_undo.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_unsquash_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_untrack_command.rs
test_util_command.rs
test_working_copy.rs
test_workspaces.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00