QYY37T6YMICHA57GBXBBR4OYE2A76SFDKXPDKIKSEDDXCNQVC5CAC
L4JXJHWXYNCL4QGJXNKKTOKKTAXKKXBJUUY7HFZGEUZ5A2V5H34QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
#[error("Cannot dry-reset multiple files")] CannotDryReset,
#[error("Cannot dry-reset multiple files")]
CannotDryReset,
use anyhow::bail;
if self.files.len() > 1 { return Err(Error::CannotDryReset.into());
if self.files.len() > 1 {
return Err(Error::CannotDryReset.into());
if self.files.len() != 1 { bail!("reset --dry-run needs exactly one file");
if self.files.len() != 1 {
bail!("reset --dry-run needs exactly one file");