From 75dc65c30f96e5366a149a3645d3662f717d0db1 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Mon, 4 Jul 2022 22:53:53 -0700 Subject: [PATCH] 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. --- src/commands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index 549d0f798..f788d6948 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -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) =