@@ -460,7 +460,7 @@ def download_toolchain(self, stage0=True, rustc_channel=None):
460
460
# LLVM more often than necessary.
461
461
#
462
462
# This git command finds that commit SHA, looking for bors-authored
463
- # merges that modified src/llvm-project or other relevant version
463
+ # commits that modified src/llvm-project or other relevant version
464
464
# stamp files.
465
465
#
466
466
# This works even in a repository that has not yet initialized
@@ -470,7 +470,7 @@ def download_toolchain(self, stage0=True, rustc_channel=None):
470
470
]).decode (sys .getdefaultencoding ()).strip ()
471
471
llvm_sha = subprocess .check_output ([
472
472
"git" ,
"rev-list" ,
"[email protected] " ,
"-n1" ,
473
- "--merges" , "-- first-parent" , "HEAD" ,
473
+ "--first-parent" , "HEAD" ,
474
474
"--" ,
475
475
"{}/src/llvm-project" .format (top_level ),
476
476
"{}/src/bootstrap/download-ci-llvm-stamp" .format (top_level ),
@@ -685,7 +685,7 @@ def maybe_download_ci_toolchain(self):
685
685
# Only commits merged by bors will have CI artifacts.
686
686
merge_base = [
687
687
"git" ,
"rev-list" ,
"[email protected] " ,
"-n1" ,
688
- "--merges" , "-- first-parent" , "HEAD"
688
+ "--first-parent" , "HEAD"
689
689
]
690
690
commit = subprocess .check_output (merge_base , universal_newlines = True ).strip ()
691
691
0 commit comments