diff options
| author | Sridhar Gopinath <sridhar.g@utexas.edu> | 2022-07-27 21:00:37 -0700 |
|---|---|---|
| committer | owenca <owenpiano@gmail.com> | 2022-07-27 21:01:24 -0700 |
| commit | f9a2f6b6aecf0dd2b484d99458c99f799caee584 (patch) | |
| tree | 89b2d44ff459d754da57e7686b3769a537050170 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
| parent | df537bef6393042d40275567679ed51c7731e859 (diff) | |
| download | llvm-f9a2f6b6aecf0dd2b484d99458c99f799caee584.zip llvm-f9a2f6b6aecf0dd2b484d99458c99f799caee584.tar.gz llvm-f9a2f6b6aecf0dd2b484d99458c99f799caee584.tar.bz2 | |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
