DescriptionAdd a canned clang-format presubmit check
For simplicity, the canned presubmit check just calls git cl format
directly with a new option --dry-run which does not change the files on
disk.
Because some users may not have git or clang-format might somehow have
errors, this canned check is a warning. Additionally, if git cl format
fails with an error then the presubmit check will silently report
success to avoid spamming misconfigured users during upload.
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=246066
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address nick's review #Patch Set 3 : AppEngine nonsense #
Total comments: 4
Patch Set 4 : Use subprocess2.VOID #Patch Set 5 : Rebased #
Messages
Total messages: 12 (0 generated)
|