Closed Bug 1508635 Opened 2 years ago Closed 2 years ago
mach clang-format should be able to print the back the file that has been reformatted
Since we want to integrate bug 1507711 we need to have a way on outputting from 'mach clang-format' only the file that has been reformatted. The scope of this bug is to add a new parameter to 'mach clang-format', '--raw-output' that is used per a single file basis and pushes back to 'stdout' the contents of the formatted file.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/fd219dda36e8 mach clang-format should be able to print back the file that has been reformatted to stdin, suitable when it ise used with 3rd party tools for merging. r=sylvestre
You need to log in before you can comment on or make changes to this bug.