Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 1d3d24cb85ad129204e8e6af9decfd2203868114..ef883e1390ac2c92c1c0a9918d0f07cab4e4716b 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2299,7 +2299,7 @@ def CMDowners(parser, args): |
@subcommand.usage('[files or directories to diff]') |
def CMDformat(parser, args): |
"""Runs clang-format on the diff.""" |
- CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm'] |
+ CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm', '.proto'] |
parser.add_option('--full', action='store_true', |
help='Reformat the full content of all touched files') |
parser.add_option('--dry-run', action='store_true', |