ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: delete builtin update/up aliases

These don't seem used much, and maybe we (or a customized build) will
want to use the name in the future.
This commit is contained in:
Martin von Zweigbergk 2023-02-10 07:52:14 -08:00 committed by Martin von Zweigbergk
parent d7f64c07e0
commit ee336a2e45
2 changed files with 4 additions and 1 deletions

View file

@ -47,6 +47,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `merge-tools.<name>.edit-args` now requires `$left`/`$right` parameters.
The default is `edit-args = ["$left", "$right"]`.
* The builtin `jj update` and `jj up` aliases for `jj checkout` have been
deleted.
### New features
* The default log format now uses the committer timestamp instead of the author

View file

@ -195,7 +195,7 @@ struct ConfigEditArgs {
/// For more information, see
/// https://github.com/martinvonz/jj/blob/main/docs/working-copy.md.
#[derive(clap::Args, Clone, Debug)]
#[command(visible_aliases = &["co", "update", "up"])]
#[command(visible_aliases = &["co"])]
struct CheckoutArgs {
/// The revision to update to
revision: RevisionArg,