#if confuse the block toool
If a #if block exists before a modified function, the code within the #if is also grabbed when you view a diff. It is only grabbed on the destination file.
21
votes
![](https://secure.gravatar.com/avatar/6c0531288830d37b66e20c96f2b9a4c0?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Eddy commented
This burned me severely in the U-Boot code.
-
Colin Young commented
This is going to become a bigger issue as .Net 5/DNX core starts to be adopted. It would be really nice to see conditional compilation blocks handled as nicely as the rest of the code is.