mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
when josh-proxy screws up the roundtrip, say what the involved commits are
This commit is contained in:
parent
536a3e9503
commit
83e534923d
1 changed files with 4 additions and 1 deletions
|
@ -202,7 +202,10 @@ impl flags::RustcPush {
|
||||||
let head = cmd!(sh, "git rev-parse HEAD").read()?;
|
let head = cmd!(sh, "git rev-parse HEAD").read()?;
|
||||||
let fetch_head = cmd!(sh, "git rev-parse FETCH_HEAD").read()?;
|
let fetch_head = cmd!(sh, "git rev-parse FETCH_HEAD").read()?;
|
||||||
if head != fetch_head {
|
if head != fetch_head {
|
||||||
bail!("Josh created a non-roundtrip push! Do NOT merge this into rustc!");
|
bail!(
|
||||||
|
"Josh created a non-roundtrip push! Do NOT merge this into rustc!\n\
|
||||||
|
Expected {head}, got {fetch_head}."
|
||||||
|
);
|
||||||
}
|
}
|
||||||
println!("Confirmed that the push round-trips back to rust-analyzer properly. Please create a rustc PR:");
|
println!("Confirmed that the push round-trips back to rust-analyzer properly. Please create a rustc PR:");
|
||||||
// https://github.com/github-linguist/linguist/compare/master...octocat:linguist:master
|
// https://github.com/github-linguist/linguist/compare/master...octocat:linguist:master
|
||||||
|
|
Loading…
Reference in a new issue