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.
169
169
170
170
Upstream ref: {upstream_sha}
171
171
Filtered ref: {incoming_ref}
172
+ Upstream diff: https://github.com/{DEFAULT_UPSTREAM_REPO}/compare/{prev_upstream_sha}...{upstream_sha}
172
173
173
174
This merge was created using https://github.com/rust-lang/josh-sync.
174
175
"# ,
175
176
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)
176
182
) ;
177
183
178
184
// Merge the fetched commit.
@@ -367,7 +373,7 @@ fn prepare_rustc_checkout(verbose: bool) -> anyhow::Result<PathBuf> {
367
373
"git" ,
368
374
"clone" ,
369
375
"--filter=blob:none" ,
370
- "https://github.com/rust-lang/rust" ,
376
+ & format ! ( "https://github.com/{DEFAULT_UPSTREAM_REPO}" ) ,
371
377
path,
372
378
] ,
373
379
verbose,
You can’t perform that action at this time.
0 commit comments