On Thu, Sep 20, 2018 at 10:35:04PM -0400, Jeff King wrote: > 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 > > <sandals@xxxxxxxxxxxxxxxxxxxx> 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 am indeed missing that. I looked for it in git.git, but didn't think to look for it as part of 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. I filed a bug report asking Debian to include a symlink in the default package. > We might want a Makefile variable to let you override this path (I think > I just ended up putting another symlink in ~/local/bin). I may send a patch to do that. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Attachment:
signature.asc
Description: PGP signature