Skip to content

Commit a17c1d1

Browse files
authored
mdbook-compare: fix duplicate "diff" print
The "diff" arg is already in the args list.
1 parent 8a27d1b commit a17c1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/mdbook-compare/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn tidy(path: &Path) {
104104

105105
fn diff(a: &Path, b: &Path) {
106106
let args = "diff --no-index";
107-
println!("running `git diff {args} {a:?} {b:?}`");
107+
println!("running `git {args} {a:?} {b:?}`");
108108
Command::new("git")
109109
.args(args.split(' '))
110110
.args([a, b])

0 commit comments

Comments
 (0)