Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: move jj co alias to config file, so it can be overridden #3242

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cli/src/commands/checkout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use crate::ui::Ui;
/// For more information, see
/// https://github.com/martinvonz/jj/blob/main/docs/working-copy.md.
#[derive(clap::Args, Clone, Debug)]
#[command(visible_aliases = &["co"])]
pub(crate) struct CheckoutArgs {
/// The revision to update to
revision: RevisionArg,
Expand Down
4 changes: 3 additions & 1 deletion cli/src/config/misc.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# The code assumes that this table exists, so don't delete it even if you remove
# all aliases from here.
[aliases]
# Placeholder: added by user
co = ["checkout"]

[format]
tree-level-conflicts = true
Expand Down