cli: Prefer use of short_change_id() to display a change ID 430e9803 parent 4b3f0ee6

The ChangeId struct implements the Display trait, so when we want to obtain the human displayable content, we should prefer using an implementation that will use that trait. In this case we directly use the function cli::cli_util::short_change_id() to print the short representation of a Change ID which is more common by default.

authored by Hubert Lefevre

1
/target/
2
/rendered-docs
3
.direnv
4
.envrc
5
# Generated by nix build, nix-build
6
result
7
# Generated by the insta crate
8
*.pending-snap
9
*.snap*
10
!cli/tests/cli-reference@.md.snap
11
# Per user insta settings.
12
# See https://insta.rs/docs/settings/#tool-config-file for details.
13
.config/insta.yaml
14
# Per user mise config
15
mise.local.toml
16
17
# mkdocs
18
/.venv
19
/.python-version
20
21
# Editor specific ignores
22
.idea
23
.vscode
24
.zed
25
26
# Generated by setting `JJ_TRACE` environment variable.
27
jj-trace-*.json
28
29
# To make working on buck2 easier (#1997, #4413)
30
/buck-out/
31