Value | Meaning |
---|---|
GIT_DIFF_FORMAT_PATCH1u | full git diff |
GIT_DIFF_FORMAT_PATCH_HEADER2u | just the file headers of patch |
GIT_DIFF_FORMAT_RAW3u | like git diff --raw |
GIT_DIFF_FORMAT_NAME_ONLY4u | like git diff --name-only |
GIT_DIFF_FORMAT_NAME_STATUS5u | like git diff --name-status |
GIT_DIFF_FORMAT_PATCH_ID6u | git diff as used by git patch-id |
Possible output formats for diff data