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

cli: add short form -c for jj git push --change

I use `--change` a lot and somehow still didn't think to add a short
form until @ilyagr (?) mentioned it somewhere recently.
This commit is contained in:
Martin von Zweigbergk 2023-08-02 19:23:20 -07:00 committed by Martin von Zweigbergk
parent b6c65c12ac
commit 24e754b979

View file

@ -147,7 +147,7 @@ pub struct GitPushArgs {
revisions: Vec<RevisionArg>,
/// Push this commit by creating a branch based on its change ID (can be
/// repeated)
#[arg(long)]
#[arg(long, short)]
change: Vec<RevisionArg>,
/// Only display what will change on the remote
#[arg(long)]