Merge pull request #2908 from rust-lang/ehuss-patch-1

mdbook-compare: fix duplicate "diff" print
This commit is contained in:
Eric Huss 2025-10-30 02:51:01 +00:00 committed by GitHub
commit eaa778bebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ fn tidy(path: &Path) {
fn diff(a: &Path, b: &Path) {
let args = "diff --no-index";
println!("running `git diff {args} {a:?} {b:?}`");
println!("running `git {args} {a:?} {b:?}`");
Command::new("git")
.args(args.split(' '))
.args([a, b])