[clang] [clang-format] Fix a serious bug in `git clang-format -f` (PR #102629)

Stefan Pantic via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 01:13:43 PDT 2024


stefanpantic-pdftools wrote:

FYI: this breaks the tool:

```bash
git clang-format --binary /usr/bin/clang-format --extensions $INPUT_EXTENSIONS --diff origin/$INPUT_TARGET_BRANCH origin/$INPUT_SOURCE_BRANCH
`/usr/bin/clang-format -list-ignored` returned 1
clang-format: Unknown command line argument '-list-ignored'.  Try: '/usr/bin/clang-format --help'
clang-format: Did you mean '--lines'?
```

https://github.com/llvm/llvm-project/pull/102629


More information about the cfe-commits mailing list