Commit bf47014c authored by zengster's avatar zengster Committed by Commit bot

Added '.m' pattern to git cl format files to be covered.

BUG=

Review-Url: https://codereview.chromium.org/2123283005
parent c55ba20c
......@@ -4868,7 +4868,7 @@ def MatchingFileType(file_name, extensions):
@subcommand.usage('[files or directories to diff]')
def CMDformat(parser, args):
"""Runs auto-formatting tools (clang-format etc.) on the diff."""
CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm', '.proto', '.java']
CLANG_EXTS = ['.cc', '.cpp', '.h', '.m', '.mm', '.proto', '.java']
GN_EXTS = ['.gn', '.gni', '.typemap']
parser.add_option('--full', action='store_true',
help='Reformat the full content of all touched files')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment