On Thu, Sep 20, 2018 at 10:26:47PM -0400, Eric Sunshine wrote:

> On Wed, Sep 19, 2018 at 8:00 PM brian m. carlson
> <sand...@crustytoothpaste.net> wrote:
> > (I am having trouble getting make style to work, though, because it
> > seems to invoke clang-format as a git subcommand, and I don't think that
> > works.  I may send a patch.)
> 
> You're probably missing this piece:
> https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/git-clang-format

I've been confused by this, too. In Debian they ship it with the version
number. E.g., /usr/bin/git-clang-format-7, which is a symlink to
/usr/lib/llvm-7/bin/git-clang-format.

We might want a Makefile variable to let you override this path (I think
I just ended up putting another symlink in ~/local/bin).

-Peff

Reply via email to