[OISF/outreachy] Help running clang-format script

Juliana Fajardini Reichow jufajardini at gmail.com
Wed Oct 21 17:45:36 UTC 2020


Hi all,

I was trying to run clang-format to check exactly which parts of my code
formatting are not compliant, as suggested by "Formatting Check (clang 9)"
test
ERROR: Branch requires formatting
ERROR: View required changes with: clang-format.sh check-branch --diff
ERROR: Use clang-format.sh rewrite-branch or clang-format.sh branch to fix
formatting
Error: Formatting is not following code style guide!

But I get an error:
./clang-format.sh check-branch --diff
ERROR: None of git-clang-format-11 git-clang-format-10 git-clang-format-9
git-clang-format found

I tried running it from within "scripts" folder and from suricata one, and
got the same error...

If someone can help me understand how to run those, for future use, that
would be great! :)

Thanks in advance,
Juliana

-- 
Juliana Fajardini Reichow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/outreachy/attachments/20201021/f58e7834/attachment.html>


More information about the Outreachy mailing list