Merge pull request #2908 from rust-lang/ehuss-patch-1
mdbook-compare: fix duplicate "diff" print
This commit is contained in:
commit
eaa778bebd
1 changed files with 1 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue