[all-commits] [llvm/llvm-project] 2b1c76: [Github] Use three dot diff for darker in code for...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Dec 7 12:05:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b1c76c7c4d62f4470fe1527bf239f380c19760a
      https://github.com/llvm/llvm-project/commit/2b1c76c7c4d62f4470fe1527bf239f380c19760a
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M llvm/utils/git/code-format-helper.py

  Log Message:
  -----------
  [Github] Use three dot diff for darker in code format action (#74704)

Using a two dot diff allows changes made in main after the merge base to
show up in the formatting diff. Using a three dot diff fixes this and
ensures that only changes made in the source branch (branch from the PR
author) will get passed along to the formatter.

Without this, issues like #73873 occur.




More information about the All-commits mailing list