summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorRoland Fischer <roli@gugus.ca>2021-10-15 09:56:20 +0100
committermydeveloperday <mydeveloperday@gmail.com>2021-10-15 09:56:51 +0100
commit191a395343b984d26d058c449cefe1a9ac0ff927 (patch)
tree5e000c68a6cf939f2069529c4534c59be187f92b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parenta92cf5a5a0cd01145f8db2ae09334a8b43a1271b (diff)
[git-clang-format] Add --diffstat parameter
[git-clang-format][PR46815] Add diffstat functionality Adding a --diffstat parameter to git-clang-format that essentially uses git diff --stat, i.e. lists the files needing formatting. This is useful for CI integration or manual usage where one wants to list the files not properly formatted. I use it for the Suricata project's github action (CI) integration that verifies proper formatting of a pull request according to project guidelines where it's very helpful to say which files are not properly formatted. I find the list of files much more useful than e.g. showing the diff in this case using git-clang-format --diff. An alternative would be to take an additional parameter to diff, e.g. git-clang-format --diff --stat The goal is not to provide the whole git diff --stat=... parameter functionality, just plain git diff --stat. Reviewed By: MyDeveloperDay, JakeMerdichAMD Differential Revision: https://reviews.llvm.org/D84375
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions