4 Commits

Author SHA1 Message Date
Nate Bosch
fa3a37c76d
Use merge-base in find_commit.dart (#138033)
Closes #97595

The prior approach of manually diffing the entire log chain is less
efficient, and only found the original branch point ignoring subsequent
merges. The limitation forced PR workflows into rebasing and force
pushing new history to get the branch point far enough for CI to pass.

Use `git merge-base` to find the latest common commit with the main
branch.
Add an `allowFailure` argument to the `git` utility to use a more
specific failure in the case of no shared history when this command will
fail with a generic error.

Use `^branch` with the `git log` commands to exclude shared history and
more easily count the unique commits on each branch.

Drop the `Commit` abstraction. Parse directly to timestamp or line counts.
2023-11-10 02:15:27 +00:00
Michael Goderbauer
10a7c9ba22
Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
Ian Hickson
0b8174e0b0
Pin the customer_tests (#83964) 2021-07-02 19:16:04 -07:00
Ian Hickson
fa1c6a2841
Add a script that will find the appropriate commit in another repository. (#82462) 2021-05-20 16:09:04 -07:00