cli: fix bad copy&paste in operation description for push

The operation log entry for `jj git push` currently says "import git
refs". That seems like just a bad copy&paste. While it used to be
technically correct that the only effect on the repo was from the
import, now that we have the `jj git push --change`, that is no longer
even true.
This commit is contained in:
Martin von Zweigbergk 2022-07-04 22:53:53 -07:00 committed by Martin von Zweigbergk
parent 7a99257040
commit 75dc65c30f

View file

@ -5084,7 +5084,8 @@ fn cmd_git_push(
let mut workspace_command = command.workspace_helper(ui)?;
let repo = workspace_command.repo().clone();
let mut tx = workspace_command.start_transaction("import git refs");
let mut tx =
workspace_command.start_transaction(&format!("push to git remote {}", &args.remote));
let mut branch_updates = vec![];
if let Some(branch_name) = &args.branch {
if let Some(update) =