diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-11-28 14:41:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-28 14:41:58 +0100 |
commit | fb439c975a2de33f5b0c317f3fdea49dc94b27dc (patch) | |
tree | ae22d26f1bc5d91f947577c291309cb57c2ebd77 /include | |
parent | 61176a9b363b1274c101d82f36cbf9cb71a10f74 (diff) | |
parent | ece5bb5e7d6e35e50096bac3d7bf17342daaec77 (diff) | |
download | libgit2-fb439c975a2de33f5b0c317f3fdea49dc94b27dc.tar.gz |
Merge pull request #5306 from herrerog/patchid
diff: complete support for git patchid
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/diff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index 490b40605..3976ab1b9 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -1093,6 +1093,7 @@ typedef enum { GIT_DIFF_FORMAT_RAW = 3u, /**< like git diff --raw */ GIT_DIFF_FORMAT_NAME_ONLY = 4u, /**< like git diff --name-only */ GIT_DIFF_FORMAT_NAME_STATUS = 5u, /**< like git diff --name-status */ + GIT_DIFF_FORMAT_PATCH_ID = 6u, /**< git diff as used by git patch-id */ } git_diff_format_t; /** |