• Nate Bosch's avatar
    Use merge-base in find_commit.dart (#138033) · fa3a37c7
    Nate Bosch authored
    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.
    fa3a37c7
Name
Last commit
Last update
..
a11y_assessments Loading commit data...
automated_tests Loading commit data...
benchmarks Loading commit data...
bots Loading commit data...
conductor Loading commit data...
customer_testing Loading commit data...
devicelab Loading commit data...
docs Loading commit data...
forbidden_from_release_tests Loading commit data...
integration_tests Loading commit data...
manual_tests Loading commit data...
missing_dependency_tests Loading commit data...
snippets/config Loading commit data...
tools Loading commit data...
tracing_tests Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...