It looks like DIffMerge is failing to ignore the Start Pattern for Content Handling that is set to not Classify Differences as Important. This is making it impossible to correctly ignore code comments.
Rep steps:
-Install Diffmerge v5.0.0.1 (DiffMerge_5.0.0.1.dev_x64.msi)
-Create an old.txt
Code: Select all
abc
def
Code: Select all
abc
<!--comment test-->
def
-File > Change Ruleset > XML FIles
Note that DiffMerge believes there is 1 change: the beginning of the comment <!--
It correctly ignores the rest of the comment, but not its Start Pattern.
Expectation:
DiffMerge ought to be ignoring <!-- as a part of the default Content Handling in the default XML Files ruleset.
My use case is actually SQL comments, but it's easier to demonstrate with the default XML File ruleset.
Edit: I'm going to assume this is a bug and go ahead and open up an issue at https://github.com/sourcegear/diffmerge/issues/4 (is that the best way to report issues nowadays?), but if I'm wrong and this is instead a config issue, please let me know! This is my first time trying out DiffMerge so I definitely could be missing something.