Skip to content
Verified Commit 1829894a authored by Ingo Klöcker's avatar Ingo Klöcker Committed by Ingo Klöcker
Browse files

Run clang-format on the stage instead of the working dir

This has two effects:
a) It's way faster because only the staged files are checked.
b) More importantly, it prevents you from committing wrongly formatted
code that you have clang-formatted in the working directory after the
commit hook complained but that you forgot to stage after fixing the
formatting.
parent 319d0260
Pipeline #491806 passed with stage
in 15 minutes and 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment