We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5729cf commit 88f14a8Copy full SHA for 88f14a8
src/build_helper/src/git.rs
@@ -150,11 +150,13 @@ pub fn get_closest_merge_commit(
150
}
151
};
152
153
+ // Now that rust-lang/rust is the only repo using bors, we can search the entire
154
+ // history for a bors commit, not just "first parents". This is crucial to make
155
+ // this logic work when the user has currently checked out a subtree sync branch
156
git.args([
157
"rev-list",
158
&format!("--author={}", config.git_merge_commit_email),
159
"-n1",
- "--first-parent",
160
&merge_base,
161
]);
162
0 commit comments