A hunk is a span of modified lines in a delta along with some stable
surrounding context. You can configure the amount of context and other
properties of how hunks are generated. Each hunk also comes with a
header that described where it starts and ends in both the old and new
versions in the delta.
Structure describing a hunk of a diff.
A hunk is a span of modified lines in a delta along with some stable surrounding context. You can configure the amount of context and other properties of how hunks are generated. Each hunk also comes with a header that described where it starts and ends in both the old and new versions in the delta.