<div dir="ltr">Hi list,<br>
<br>
Is there a way to determine a version of clang-format from running git-clang-format?<br>
<br>
Some background: I have a .clang_format that works for a specific
clang-format version. I'd also like to be able to use git-clang-format
but I would need a test to determine whether I should run it. Ideally,
there would be something like<br>
<br>
$ git-clang-format --version<br>
<br>
which would be equivalent to<br>
<br>
$ clang-format --version<br>
<br>
but I didn't see anything like that. My only workaround at this point is
start querying all different variant of clang-format executables in
$PATH.<br>
<br>
Thank you.<br>
<br>
-Andrey<br></div>