jj/cli/tests
Yuya Nishihara 891fe085a6 templater: add DiffStats type to provide raw stats values
I originally considered adding `stats() -> DiffStats` which returns an
unprintable object, with deprecation of `.stat(width)` in favor of
`.stats().<method_to_render>(width)`. However, I couldn't find a good name for
the rendering function. This patch instead made the width parameter optional. I
think that's good because template language doesn't have to be overly strict.

Closes #4154
2025-02-05 00:31:16 +00:00
..
common tests: keep user's $PATH while running jj commands 2025-01-26 17:16:59 +00:00
cli-reference@.md.snap rebase: fix grammar in doc comments 2025-02-02 13:44:25 +00:00
runner.rs
test_abandon_command.rs cli: abandon: delete bookmarks pointing to abandoned commits 2025-01-21 02:37:07 +00:00
test_absorb_command.rs absorb: print status if source commit still contains diffs 2025-01-16 01:09:33 +00:00
test_acls.rs cli: port "file list" to template 2025-01-23 02:21:15 +00:00
test_advance_bookmarks.rs
test_alias.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_backout_command.rs cli: drop support for jj init --{git, git_repo} 2025-01-03 10:15:01 -06:00
test_bookmark_command.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_builtin_aliases.rs
test_commit_command.rs cli: fix interactive diff selection to not retain unmatched files 2025-01-04 22:21:37 +09:00
test_commit_template.rs templater: add DiffStats type to provide raw stats values 2025-02-05 00:31:16 +00:00
test_completion.rs cli: complete: complete revset alias symbols for revisions 2025-02-01 17:16:01 +00:00
test_concurrent_operations.rs
test_config_command.rs config: add --when.command to scope resolution 2025-01-24 05:30:07 +00:00
test_copy_detection.rs
test_debug_command.rs
test_describe_command.rs cli: describe: Add a --edit flag 2025-01-23 16:11:32 +00:00
test_diff_command.rs diff: add merge-tools.*.diff-expected-exit-codes 2025-01-08 08:03:59 +00:00
test_diffedit_command.rs
test_duplicate_command.rs
test_edit_command.rs
test_evolog_command.rs cli: apply log --limit before --reversed 2025-01-27 01:35:36 +00:00
test_file_annotate_command.rs
test_file_chmod_command.rs
test_file_show_command.rs
test_file_track_untrack_commands.rs
test_fix_command.rs actions: fix codespell CI failure 2025-01-22 00:20:33 +00:00
test_generate_md_cli_help.rs
test_git_clone.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_git_colocated.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_git_fetch.rs git: reimplement get_all_remotes() by using gix API 2025-01-31 00:52:23 +00:00
test_git_import_export.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_git_init.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_git_private_commits.rs
test_git_push.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_git_remotes.rs cli: git: store absolute remote path in config file 2025-01-12 01:45:03 +00:00
test_git_submodule.rs
test_gitignores.rs
test_global_opts.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_help_command.rs
test_immutable_commits.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_init_command.rs cli: drop support for jj init --{git, git_repo} 2025-01-03 10:15:01 -06:00
test_interdiff_command.rs
test_log_command.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_new_command.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_next_prev_commands.rs cli: drop support for jj init --{git, git_repo} 2025-01-03 10:15:01 -06:00
test_operations.rs cli: apply log --limit before --reversed 2025-01-27 01:35:36 +00:00
test_parallelize_command.rs
test_rebase_command.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_repo_change_report.rs
test_resolve_command.rs resolve: try to resolve all conflicted files in fileset 2025-01-08 23:52:21 +00:00
test_restore_command.rs restore: add --into flag, make --to an alias to it 2025-01-19 20:17:44 +00:00
test_revset_output.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_root.rs tests: add convenient method to initialize TestWorkspace with test settings 2025-01-06 22:37:33 +09:00
test_shell_completion.rs
test_show_command.rs cli: oplog: add builtin_op_log_oneline template 2025-01-09 15:58:40 +00:00
test_simplify_parents_command.rs tests: insert insta::allow_duplicates! { .. } per snapshot 2025-01-10 01:00:09 +00:00
test_sparse_command.rs
test_split_command.rs cli: fix interactive diff selection to not retain unmatched files 2025-01-04 22:21:37 +09:00
test_squash_command.rs cli: squash: use draft description template to generate editor content 2025-02-04 06:05:58 +00:00
test_status_command.rs status: show untracked files 2025-01-05 17:43:59 +01:00
test_tag_command.rs
test_templater.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00
test_undo.rs
test_unsquash_command.rs
test_util_command.rs tests: keep user's $PATH while running jj commands 2025-01-26 17:16:59 +00:00
test_working_copy.rs
test_workspaces.rs parser: use backtick to quote name or expression in error message 2025-02-03 01:31:04 +00:00