These values describe where a line came from and will be passed to the #GgitDiffLineCallback when iterating over a diff.
The #GGIT_DIFF_LINE_FILE_HDR, #GGIT_DIFF_LINE_HUNK_HDR and #GGIT_DIFF_LINE_BINARY values are only sent when the diff is being printed.
line that was added.
LF was added at end of file.
is binary.
line is part of the context.
Both files have no LF at end.
line that was removed.
LF was removed at end of file.
the file header.
the hunk header.
These values describe where a line came from and will be passed to the #GgitDiffLineCallback when iterating over a diff.
The #GGIT_DIFF_LINE_FILE_HDR, #GGIT_DIFF_LINE_HUNK_HDR and #GGIT_DIFF_LINE_BINARY values are only sent when the diff is being printed.