[PATCH] D85485: Fix quiet mode in git-clang-format

Gvald Ike via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 16:29:07 PDT 2020


Gvald added reviewers: jmerdich, rsmith, djasper, serge-sans-paille.
Gvald added a comment.

Quiet mode is very useful for scripting, when only the diff format output is required, or no output if not formatting is needed.
In case of no modified files, git-clang-format will output to screen even though the quiet mode enabled.

This patch changes this behavior, so if quiet flag passes in - no output will be available, even if no modified files exists.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85485/new/

https://reviews.llvm.org/D85485



More information about the cfe-commits mailing list