-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save rule on enable/disable even if not selected. Closes #6163. #6183
Conversation
--HG-- branch : magao-dev
…6163. --HG-- branch : magao-dev
1st commit seems ok. 2nd has its own PR. The other uncrustifies other files. |
A lot of commits/PRs touch the same files, which is why I created a single uncrustify PR. For those cases, how do you want me to handle them?
|
Put the rss related uncrustify commit into one of your multiple rss PRs. Then tag me so I can review+merge it. The rest of your PRs won't need that commit anymore. And for future reference: If you must uncrustify, then do it in the same commit. And uncrustify only the files you want to touch. |
The reason I did the uncrustifying in a separate commit was that it allowed all the PRs to merge cleanly no matter what order they were merged. Only doing the uncrustifying in the commit that included the change meant they didn't. Also, in many cases the uncrustifying dominated and the actual changes were hard to see as a result. |
I understand. That's why I tell you to include the uncrustify changes to only one for current PRs. Choose a simple one that I didn't find any faults. Then after I merge it the other PRs should be ok or need just a simple rebase. |
As I have already told you it touches unrelated files. Specifically it touches changes to mainwindow.{cpp|h} which I don't want to merge right now. |
A forum is such a bad way to work this out - if we were talking together I'm sure we'd have this hashed out in 5 minutes. So if I just removed the changes to mainwindow.h/cpp from And for commit that changes mainwindow.h/cpp (currently fa6cdbd but would change after history editing) I shouldn't uncrustify the files but just make sure my changes follow current coding style? |
Yes. I'll check it in a few minutes and then merge. |
Give me half an hour? Still waiting for caffeine to kick in (8am Saturday morning ;) |
You should uncrustify with new commit into the relevant PR. |
@sledgehammer999 Rebased on top of master. |
Thx |
This pull request addresses issue #6163.
Correctly saves the enabled/disabled state of a rule when it is changed while the rule is not selected.
Note: this pull request includes a commit (ee0359c) which has been factored out to allow all the pull requests I am submitting to merge without conflicts.
Note that this pull request has been rebased on top of #6212 and uncrustified.