fix: stop --dry-run from writing to the working tree

This commit is contained in:
2026-09-08 10:26:37 +00:00
parent e1817a6824
commit afa0b65c13
4 changed files with 70 additions and 6 deletions

View File

@@ -13,6 +13,10 @@ fn main() -> ExitCode {
dry_run: args.dry_run,
});
if args.dry_run {
cli::reject_unsupported_dry_run(&args.command);
}
match run(args.command) {
Ok(code) => code,
Err(e) => {