ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Aaron Bull Schaefer 6c627fb30d cli: default to log when no subcommand is provided
This is a convenience optimization to improve the default user
experience, since `jj log` is a frequently run command. Accessing the
help information explicitly still follows normal CLI conventions, and
instructions are displayed appropriately if the user happens to make a
mistake. Discoverability should not be adversely harmed.

Note that this behavior mirrors what Sapling does [2], where `sl` will
display the smartlog by default.

[1] https://github.com/clap-rs/clap/issues/975
[2] https://sapling-scm.com/docs/overview/smartlog
2023-04-17 16:30:42 -07:00
..
common tests: fix a typo 2023-04-17 16:14:14 -07:00
test_abandon_command.rs
test_alias.rs cli: default to log when no subcommand is provided 2023-04-17 16:30:42 -07:00
test_branch_command.rs cmd: prohibit creating branches at the root commit 2023-04-03 23:51:47 -07:00
test_cat_command.rs
test_checkout.rs
test_commit_command.rs
test_commit_template.rs Templater: label hidden commits (aka abandoned commits) 2023-04-09 22:56:33 -07:00
test_concurrent_operations.rs tests: use absolute timestamps in the operation log 2023-04-08 14:02:39 -07:00
test_config_command.rs
test_debug_command.rs revset: extract unresolved commit references to separate enum 2023-04-10 00:39:58 +09:00
test_describe_command.rs
test_diff_command.rs
test_diffedit_command.rs
test_duplicate_command.rs
test_edit_command.rs
test_git_clone.rs
test_git_colocated.rs
test_git_fetch.rs cmd: when a single remote is defined, default to it for git fetch/push 2023-04-14 08:20:30 +03:00
test_git_import_export.rs
test_git_push.rs
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs cli: default to log when no subcommand is provided 2023-04-17 16:30:42 -07:00
test_init_command.rs
test_interdiff_command.rs
test_log_command.rs
test_move_command.rs
test_new_command.rs
test_obslog_command.rs Templater: label hidden commits (aka abandoned commits) 2023-04-09 22:56:33 -07:00
test_operations.rs tests: use absolute timestamps in the operation log 2023-04-08 14:02:39 -07:00
test_rebase_command.rs
test_resolve_command.rs
test_restore_command.rs
test_revset_output.rs
test_show_command.rs
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs
test_status_command.rs
test_templater.rs
test_undo.rs
test_unsquash_command.rs
test_untrack_command.rs
test_util_command.rs cli: rename jj support to jj util 2023-04-12 21:34:47 -07:00
test_workspaces.rs