Skip to content

Cannot find clang-format-diff #29

@Smeegol

Description

@Smeegol

OS: macOS 11.5.2
clang-format version 12.0.1, installed by Homebrew
But, error while using it:

$ ./scripts/apply-format -i --staged
Cannot find clang-format-diff which should be shipped as part of the same
package where clang-format is.

Please find out where clang-format-diff is in your distro and report an issue
at https://github.com/barisione/clang-format-hooks/issues with details about
your operating system and setup.

You can also specify your own path for clang-format-diff by setting the
$CLANG_FORMAT_DIFF environment variable, for instance:

    CLANG_FORMAT_DIFF="python /.../clang-format-diff.py" \
        ./scripts/apply-format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions