Added '.m' pattern to git cl format files to be covered.
BUG=
Review-Url: https://codereview.chromium.org/2123283005
diff --git a/git_cl.py b/git_cl.py
index 6372169..1a151c7 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -4868,7 +4868,7 @@
@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')