git_diff_options.context_lines

The number of unchanged lines that define the boundary of a hunk (and to display before and after). Defaults to 3.

struct git_diff_options
uint context_lines;

Meta