Differences are marked with background colors according to their Types:
Differences in DiffFork have Levels to help you understand them more easily. For more information, please see the next section “Nested and Darker”.
There are three level differences: Level 1(Block), Level 2(Line) and Level 3(Character). The Level 3 is nested in the Level 2, and the Level 2 is nested in the Level 1.
Nested differences are marked with darker background colors.
Level 1 (Block)
Differences between lines. A Level 1 difference block can across multiple lines of text.
Level 2 (Line)
Differences based on one line. The Level 2 difference always and only contains one complete line of text.
Level 3 (Character)
Character (word) differences between one line.
These kinds of “Levels” may seem overly complicated, but it will feel more natural when you see how DiffFork presents differences in action. We hope these “colorful differences” can help you to understand the differences more easily.