llvm-project/clang/tools/clang-format
Sridhar Gopinath f9a2f6b6ae [clang-format] Fix the return code of git-clang-format
In diff and diffstat modes, the return code is != 0 even when there are no
changes between commits. This issue can be fixed by passing --exit-code to
git-diff command that returns 0 when there are no changes and using that as
the return code for git-clang-format.

Fixes #56736.

Differential Revision: https://reviews.llvm.org/D129311
2022-07-27 21:01:24 -07:00
..
fuzzer
CMakeLists.txt [clang][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-21 23:58:08 +00:00
ClangFormat.cpp [clang-format] Fix an assertion failure on -lines=0:n 2022-07-08 23:41:16 -07:00
clang-format-bbedit.applescript
clang-format-diff.py [clang-format] add support for cppm files 2021-12-14 14:55:38 +00:00
clang-format-sublime.py
clang-format-test.el
clang-format.el clang-format.el: Make clang-format work in indirect buffers. 2022-02-23 17:00:12 +01:00
clang-format.py [Format] Work around current vim bugs in clang-format.py 2020-04-15 20:11:14 +02:00
git-clang-format [clang-format] Fix the return code of git-clang-format 2022-07-27 21:01:24 -07:00