Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 63721691b8795b02f5538a5aa1b42468fbce95f8..1a151c7b00352087da54aa61e8d1c4725423c39f 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -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') |