Flatten hunks into a single list of lines for rendering.
Diff hunks
Number of context lines to show
Flattened line list with line numbers
Flatten hunks into a single list of lines for rendering.