[all-commits] [llvm/llvm-project] 3a7ca4: utils: fix broken assertion in revert_checker

George Burgess IV via All-commits all-commits at lists.llvm.org
Thu Jul 15 13:08:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a7ca4cad4dd42120ea39b919f45a166e85d54a8
      https://github.com/llvm/llvm-project/commit/3a7ca4cad4dd42120ea39b919f45a166e85d54a8
  Author: George Burgess IV <george.burgess.iv at gmail.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/utils/revert_checker.py

  Log Message:
  -----------
  utils: fix broken assertion in revert_checker

`intermediate_commits` is a list of full SHAs, and `across_ref` may/may
not be a full SHA (or a SHA at all). We already have `across_sha`, which
is the resolved form of `across_ref`, so use that instead.

Thanks to probinson for catching this in post-commit review of
https://reviews.llvm.org/D105578!




More information about the All-commits mailing list