Chromium Code Reviews| Index: git_cl.py |
| =================================================================== |
| --- git_cl.py (revision 293310) |
| +++ git_cl.py (working copy) |
| @@ -2769,7 +2769,7 @@ |
| @subcommand.usage('[files or directories to diff]') |
| def CMDformat(parser, args): |
| """Runs clang-format on the diff.""" |
| - CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm', '.proto'] |
| + CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm', '.proto', '.java'] |
|
M-A Ruel
2014/12/09 21:15:45
A careful reader will note that the list was sorte
Nico
2014/12/09 21:17:44
It’s not sorted, it’s grouped by language. See the
M-A Ruel
2014/12/09 21:18:35
"..."
lgtm
|
| parser.add_option('--full', action='store_true', |
| help='Reformat the full content of all touched files') |
| parser.add_option('--dry-run', action='store_true', |