File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -169,10 +169,16 @@ Pull recent changes from https://github.com/{upstream_repo} via Josh.
169169
170170Upstream ref: {upstream_sha}
171171Filtered ref: {incoming_ref}
172+ Upstream diff: https://github.com/{DEFAULT_UPSTREAM_REPO}/compare/{prev_upstream_sha}...{upstream_sha}
172173
173174This merge was created using https://github.com/rust-lang/josh-sync.
174175"# ,
175176 upstream_head_short = & upstream_sha[ ..12 ] ,
177+ prev_upstream_sha = self
178+ . context
179+ . last_upstream_sha
180+ . as_deref( )
181+ . unwrap_or( & upstream_sha)
176182 ) ;
177183
178184 // Merge the fetched commit.
@@ -367,7 +373,7 @@ fn prepare_rustc_checkout(verbose: bool) -> anyhow::Result<PathBuf> {
367373 "git" ,
368374 "clone" ,
369375 "--filter=blob:none" ,
370- "https://github.com/rust-lang/rust" ,
376+ & format ! ( "https://github.com/{DEFAULT_UPSTREAM_REPO}" ) ,
371377 path,
372378 ] ,
373379 verbose,
You can’t perform that action at this time.
0 commit comments