ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Martin von Zweigbergk 0f5e360d96 cli: allow config in ~/.jjconfig.toml
As I said in 095fb9fef4, removing support for `~/.jjconfig` was an
experiment. I've heard from a few people (including in #233) that they
would prefer to have configs in the home directory. This patch
therefore restores that functionality, except I added a `.toml`
extension to the file to clarify the expected format to users and
editors.

After this patch, we still allow configs in `$XDG_CONFIG_HOME` (and
the other paths used by `dirs::config_dir()`), but we error out there
are config files in both that location and `~/.jjconfig.toml`.
2022-05-10 10:21:22 -07:00
..
common tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
smoke_test.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_alias.rs cli: make invalid alias definition an error 2022-05-10 04:02:24 -07:00
test_branch_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_concurrent_operations.rs cli: add hard-coded support for specifying previous operation 2022-04-26 10:42:29 -07:00
test_describe_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_diff_command.rs tests: add tests for jj diff 2022-04-02 14:22:58 -07:00
test_edit_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_git_colocated.rs cli: when auto-importing from git, rebase descendants 2022-05-02 17:01:38 -07:00
test_git_push.rs cli: add a mode of pushing with branch taken from change ID 2022-04-29 15:55:03 -07:00
test_git_remotes.rs cli: add a command for listing git remotes and their URLs 2022-04-29 14:08:24 -07:00
test_gitignores.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_global_opts.rs cli: allow config in ~/.jjconfig.toml 2022-05-10 10:21:22 -07:00
test_init_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_log_command.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_move_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_new.rs tests: use jj_cmd_success() in one more place 2022-04-14 23:46:28 -07:00
test_operations.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_print_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_rebase_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_restore_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_sparse_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_split_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_squash_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_undo.rs cli: make operation to undo or restore to a positional argument 2022-04-25 17:29:48 -07:00
test_untrack_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_workspaces.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00