DescriptionAdding 'git cl format' command for clang-format.
As per the discussion in
https://groups.google.com/a/chromium.org/forum/?fromgroups=#!topic/chromium-dev/Hl2QPNQ9E5o,
this CL adds a 'git cl format' command. Users may use it at their own
discretion. By default, it generates a diff against the local tracking
(upstream) branch and runs clang-format-diff on that diff. When given the
'--full' flag, it instead identifies all .cc, .cpp, and .h files in the diff and
runs clang-format on the entirety of each of those files.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=198477
Patch Set 1 #
Total comments: 6
Patch Set 2 : Comments. #
Total comments: 4
Patch Set 3 : Nits #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|