There is a pretty common “best-practice” of making separate changes in separate commits. I wrote a short article which elaborates a little more on why you’d want to do that - https://yairchu.github.io/posts/organise-commits
I recommend to everyone to adopt this style and would also like to suggest this to the JUCE team. If we take for example the latest commit as of now - https://github.com/juce-framework/JUCE/commit/6195a5ab60835363640ea13900cd4d6e79e8c431,
it bundles three changes together, whereas at least having the “and refactored AudioIODeviceType creation” parts of it in a separate commit would make it much easier to follow which parts are related to the Windows API changes.
I hope that my post is not out of place Cheers! Yair