Get data about a line in a hunk of a patch.
Given a patch, a hunk index, and a line index in the hunk, this will return a lot of details about that line. If you pass a hunk index larger than the number of hunks or a line index larger than the number of lines in the hunk, this will return -1.
The git_diff_line data for this line
The patch to look in
The index of the hunk
The index of the line in the hunk
0 on success, <0 on failure
See Implementation
Get data about a line in a hunk of a patch.
Given a patch, a hunk index, and a line index in the hunk, this will return a lot of details about that line. If you pass a hunk index larger than the number of hunks or a line index larger than the number of lines in the hunk, this will return -1.