[all-commits] [llvm/llvm-project] 78940a: [clang-format] Fix a bug in `git-clang-format --bi...
Owen Pan via All-commits
all-commits at lists.llvm.org
Mon Dec 4 13:49:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81
https://github.com/llvm/llvm-project/commit/78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M clang/tools/clang-format/git-clang-format
Log Message:
-----------
[clang-format] Fix a bug in `git-clang-format --binary` (#74293)
This is a rework of #74176, which erroneously changed the default
clang-format filename (`clang-format`, `clang-format.exe`, etc.) to an
absolute pathname. Instead, we should do that only if the name is a
pathname, e.g. `./clang-format`,
`llvm-project/build/bin/clang-format.exe`, etc. See also
https://github.com/llvm/llvm-project/pull/74176#issuecomment-1837921351.
More information about the All-commits
mailing list