| Value | Meaning | 
|---|---|
| GIT_DELTA_UNMODIFIED0 | no changes  | 
| GIT_DELTA_ADDED1 | entry does not exist in old version  | 
| GIT_DELTA_DELETED2 | entry does not exist in new version  | 
| GIT_DELTA_MODIFIED3 | entry content changed between old and new  | 
| GIT_DELTA_RENAMED4 | entry was renamed between old and new  | 
| GIT_DELTA_COPIED5 | entry was copied from another old entry  | 
| GIT_DELTA_IGNORED6 | entry is ignored item in workdir  | 
| GIT_DELTA_UNTRACKED7 | entry is untracked item in workdir  | 
| GIT_DELTA_TYPECHANGE8 | type of entry changed between old and new  | 
| GIT_DELTA_UNREADABLE9 | entry is unreadable  | 
| GIT_DELTA_CONFLICTED10 | entry in the index is conflicted  | 
What type of change is described by a git_diff_delta?
GIT_DELTA_RENAMED and GIT_DELTA_COPIED will only show up if you run git_diff_find_similar() on the diff object.
GIT_DELTA_TYPECHANGE only shows up given GIT_DIFF_INCLUDE_TYPECHANGE in the option flags (otherwise type changes will be split into ADDED / DELETED pairs).