pre-commit-clang-format icon indicating copy to clipboard operation
pre-commit-clang-format copied to clipboard

ClangFormat hook for pre-commit

Results 3 pre-commit-clang-format issues
Sort by recently updated
recently updated
newest added

When I try to use the hook as described in the [readme](https://github.com/doublify/pre-commit-clang-format#using-clang-format-with-pre-commit), pre-commit issues the following warning message: ``` [WARNING] The 'rev' field of repo 'https://github.com/doublify/pre-commit-clang-format' appears to be a...

Hi I'm having trouble running this hook, the following is the error log. ``` [WARNING] Unstaged files detected. [INFO] Stashing unstaged files to /home/shay/a/nhendy/.cache/pre-commit/patch1580363237. [INFO] Initializing environment for git://github.com/doublify/pre-commit-clang-format. [INFO]...

README says to use `git://github.com/doublify/pre-commit-clang-format` but this timed-out for me on WSL2 (Windows 11). Using `https` instead worked fine.