Skip to content

Commit

Permalink
Log names of created branch for git push --change.
Browse files Browse the repository at this point in the history
  • Loading branch information
talpr authored and martinvonz committed May 28, 2022
1 parent aedc231 commit 9766e80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4863,6 +4863,11 @@ fn cmd_git_push(
if let Some(update) =
branch_updates_for_push(tx.mut_repo().as_repo_ref(), &args.remote, &branch_name)?
{
writeln!(
ui,
"Creating branch {} for revision {}",
branch_name, change_str
)?;
branch_updates.insert(branch_name.clone(), update);
} else {
writeln!(
Expand Down

0 comments on commit 9766e80

Please sign in to comment.