libgit2

git_diff_format_t

Version:

Possible output formats for diff data

Values

GIT_DIFF_FORMAT_PATCH
0

full git diff

GIT_DIFF_FORMAT_PATCH_HEADER
1

just the file headers of patch

GIT_DIFF_FORMAT_RAW
2

like git diff --raw

GIT_DIFF_FORMAT_NAME_ONLY
3

like git diff --name-only

GIT_DIFF_FORMAT_NAME_STATUS
4

like git diff --name-status

Parameter To

Versions