]> git.lizzy.rs Git - rust.git/commit
Auto merge of #87532 - tlyu:bootstrap-rev-list, r=jyn514
authorbors <bors@rust-lang.org>
Thu, 5 Aug 2021 07:33:20 +0000 (07:33 +0000)
committerbors <bors@rust-lang.org>
Thu, 5 Aug 2021 07:33:20 +0000 (07:33 +0000)
commit2ddb65c32253872c0e7a02e43ec520877900370e
tree460251e826df4b9b02898fda9460523b1f742c9e
parentd4ad1cfc63ba5824196bfb2370451ddb5af2e020
parente0d7a591a52da064727e4ae143ef6ae1364c5d02
Auto merge of #87532 - tlyu:bootstrap-rev-list, r=jyn514

bootstrap.py: use `git rev-list` for robustness

Use `git rev-list` instead of `git log` to be more robust against
UI changes in git. Also, use the full email address for bors,
because `--author` uses a substring match.

Based on #87513, but is separate because it's less minimal and may require additional manual testing.

~Open questions:~
* ~Should the `merge_base` search also use `--first-parent`?~
* ~Do we exclude non-merge commits from bors? There are a few, and I'm not sure what they have in common. Some of them look like squashes, and some look like they're in rollup branches.~

r? `@jyn514`
`@rustbot` label +A-rustbuild +C-cleanup