jj/tests
Austin Seipp 5c82100ef0 fix(config): by default, render git refs as green instead of magenta
Summary: Someone on Discord mentioned that while using branches, they could
switch between branches like `m1` and `main`, but not `HEAD@git`, even though it
was color coded the same and located right next to the other branch names in the
default `jj log` output.

This confused me too at first, until I realized `jj` was telling me that the
given commit was the `HEAD` reference in the colocated git repo. Let's just
color these references differently in the default schema, to try and hint that
these aren't the same. `bright green` is arbitrary, but helps stand out; and
`green` was only picked because both it and `git` start with "g".

GitHub Issue: #1843

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: I66d53ea2b9155db1fec6cae8ba8cbd0f
2023-07-10 22:33:02 -05:00
..
common test utilities: advance_test_rng_seed_to_multiple_of function 2023-07-03 12:28:06 -07:00
test_abandon_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_alias.rs cargo: upgrade clap from to 4.1.11 to 4.3.0 2023-05-31 12:32:26 -07:00
test_branch_command.rs revset: include pseudo @git remote in suggestion 2023-07-10 06:17:44 +09:00
test_cat_command.rs cli: rename print to cat 2023-01-18 10:10:02 -08:00
test_checkout.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_chmod_command.rs cli: new jj chmod command to set executable bit 2023-06-24 13:28:01 -07:00
test_commit_command.rs Switch graph node to use for commit instead of 2023-04-02 23:15:37 -07:00
test_commit_template.rs fix(config): by default, render git refs as green instead of magenta 2023-07-10 22:33:02 -05:00
test_concurrent_operations.rs cli: reload both repo and wc commit if working copy was updated 2023-05-22 08:36:38 +09:00
test_config_command.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_debug_command.rs jj debug operation --display id option to show current operation id for tests 2023-06-07 13:42:48 -07:00
test_describe_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_diff_command.rs Fix warnings in tests on non-Unix platforms 2023-05-01 13:37:31 +09:00
test_diffedit_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_duplicate_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_edit_command.rs tests: avoid hardcoding commit/operation ids when possible 2023-05-22 07:02:32 -07:00
test_git_clone.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_colocated.rs undo: preserve git-tracking refs in colocated repos by default 2023-07-03 12:28:06 -07:00
test_git_fetch.rs undo: options to preserve git refs and/or remote-tracking branches on undo or restore 2023-07-03 12:28:06 -07:00
test_git_import_export.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_git_push.rs cli: warn if loosely selected push targets include conflicted branches 2023-07-08 10:23:21 +09:00
test_git_remotes.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_git_submodule.rs git: add a hidden submodule subcommand 2023-06-27 10:07:00 -07:00
test_gitignores.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_global_opts.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_init_command.rs backend: introduce error types specific to init/load phases 2023-07-06 20:48:46 +09:00
test_interdiff_command.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_log_command.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_move_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_new_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_obslog_command.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_operations.rs tests: avoid hardcoding commit/operation ids when possible 2023-05-22 07:02:32 -07:00
test_rebase_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_resolve_command.rs merge_tools: simplify error message for complex conflicts 2023-06-07 13:45:16 -07:00
test_restore_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_revset_output.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_show_command.rs cli: in "show" template, indent description like Git does 2023-03-04 12:10:53 +09:00
test_sparse_command.rs add --edit option to jj sparse set 2023-06-27 22:56:46 +09:00
test_split_command.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_squash_command.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_status_command.rs cli: append "\n" to commit description specified by -m/--message 2022-12-22 14:59:03 +09:00
test_templater.rs tests: add helper method to capture both stdout/stderr outputs 2023-07-03 22:03:05 +09:00
test_undo.rs undo: preserve git-tracking refs in colocated repos by default 2023-07-03 12:28:06 -07:00
test_unsquash_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_untrack_command.rs cli: make jj sparse --list a subcommand 2023-05-22 09:49:38 -07:00
test_util_command.rs cli: rename jj support to jj util 2023-04-12 21:34:47 -07:00
test_workspaces.rs cli: add pointer from error message to docs about stale working copy 2023-05-31 06:32:40 -07:00