about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-10-11 14:11:41 +0200
committerGitHub <noreply@github.com>2021-10-11 14:11:41 +0200
commit08a7a5759a2ac8da317a5fdb0cf827cea605e12b (patch)
tree427fd16ddf480d3f502d8038b2fc1c3a1a294b09 /src/test/codegen/src-hash-algorithm
parent86d6d2b7389fe1b339402c1798edae8b695fc9ef (diff)
parent8e467421decb43a1f1adc353c4984df7eecd0af7 (diff)
downloadrust-08a7a5759a2ac8da317a5fdb0cf827cea605e12b.tar.gz
rust-08a7a5759a2ac8da317a5fdb0cf827cea605e12b.zip
Rollup merge of #89655 - tlyu:find-non-merge-commits, r=jyn514
bootstrap: don't use `--merges` to look for commit hashes for downloading artifacts

Shallow clones (and possibly worktrees, though I can't seem to reproduce the problem there) can cause `git rev-list --merges` to falsely return no results, even if a merge commit is present. Stop using the `--merges` option when looking for commit hashes that have build artifacts. `--first-parent` and `--author=bors@rust-lang.org` should be sufficient.

Also exit with an error if the configuration asks for artifacts to be downloaded and we can't determine an appropriate commit hash to use to download artifacts.

Fixes #87890.

r? ``@jyn514``
``@rustbot`` label +A-rustbuild +A-contributor-roadblock
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions