mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-29 23:57:51 +00:00
Inline variables in format string
This commit is contained in:
parent
e347a40cbd
commit
69d1600d82
1 changed files with 2 additions and 2 deletions
|
@ -263,10 +263,10 @@ pub(crate) fn cmd_describe(
|
||||||
},
|
},
|
||||||
)?;
|
)?;
|
||||||
if num_described > 1 {
|
if num_described > 1 {
|
||||||
writeln!(ui.status(), "Updated {} commits", num_described)?;
|
writeln!(ui.status(), "Updated {num_described} commits")?;
|
||||||
}
|
}
|
||||||
if num_rebased > 0 {
|
if num_rebased > 0 {
|
||||||
writeln!(ui.status(), "Rebased {} descendant commits", num_rebased)?;
|
writeln!(ui.status(), "Rebased {num_rebased} descendant commits")?;
|
||||||
}
|
}
|
||||||
tx.finish(ui, tx_description)?;
|
tx.finish(ui, tx_description)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue