mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-19 19:08:08 +00:00
new: avoid manual unwrap()
call
This commit is contained in:
parent
ccf25a5d56
commit
a45a505b66
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ Please use `jj new 'all:x|y'` instead of `jj new --allow-large-revsets x y`.",
|
|||
writeln!(formatter)?;
|
||||
}
|
||||
} else {
|
||||
tx.edit(&new_commit).unwrap();
|
||||
tx.edit(&new_commit)?;
|
||||
// The description of the new commit will be printed by tx.finish()
|
||||
}
|
||||
if num_rebased > 0 {
|
||||
|
|
Loading…
Reference in a new issue