[all-commits] [llvm/llvm-project] 56d0e8: [Github] Print diff in code format helper (#72742)
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Sat Nov 18 01:06:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56d0e8ccf424ddcd74a505837b8966204aaba415
https://github.com/llvm/llvm-project/commit/56d0e8ccf424ddcd74a505837b8966204aaba415
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M llvm/utils/git/code-format-helper.py
Log Message:
-----------
[Github] Print diff in code format helper (#72742)
Currently, when the code format action fails, it leaves no log of the
diff in the output within the action itself. This has caused confusion
for some users of the action, especially when the comment becomes buried
in a 100+ comment review and someone isn't super familiar with the inner
workings of the CI. This patch prints the diff produced by the code
formatter to stdout so that it is viewable by clicking on the failed
action. This should have very little cost and make things slightly less
confusing for those that run into this situation.
More information about the All-commits
mailing list