llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.66k stars 11.85k forks source link

`git clang-format --binary` does not always work #74165

Closed owenca closed 10 months ago

owenca commented 10 months ago
$ git clang-format --binary build_ninja/bin/clang-format HEAD~
clang-format did not modify any files
$ cd build_ninja
$ git clang-format --binary bin/clang-format HEAD~
error: cannot find executable "bin/clang-format"
llvmbot commented 10 months ago

@llvm/issue-subscribers-clang-format

Author: Owen Pan (owenca)

``` $ git clang-format --binary build_ninja/bin/clang-format HEAD~ clang-format did not modify any files $ cd build_ninja $ git clang-format --binary bin/clang-format HEAD~ error: cannot find executable "bin/clang-format" ```