[SOLVED] Re: Question about clang-format rules

2020-11-07 Thread Julien Nabet
On 07/11/2020 09:52, Mike Kaganski wrote: On 07.11.2020 11:46, julien2412 wrote: You can apply these changes with:..." The command line mentioned there should only apply to the code you changed - because the presence of the warning means that the file was already under the clang-format scope

Question about clang-format rules

2020-11-07 Thread julien2412
Hello, I'd like to know what to do when during trying to commit locally, I got a message indicating: "The above differences were found between the code to commit and the clang-format rules. You can apply these changes with:..." 1) Should I clang-format the patch but it means it'll make it harder

Re: Question about clang-format rules

2020-11-07 Thread Mike Kaganski
On 07.11.2020 11:46, julien2412 wrote: You can apply these changes with:..." The command line mentioned there should only apply to the code you changed - because the presence of the warning means that the file was already under the clang-format scope, and was formatted correctly before the c