diff options
Diffstat (limited to 'include/git2/diff.h')
| -rw-r--r-- | include/git2/diff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index 0abbc7f06..c3589bb13 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -163,6 +163,13 @@ typedef enum { /** Include unreadable files in the diff */ GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED = (1u << 17), + /** Use literal path matching in the iterators. This is more broad + * than the DISABLE_PATHSPEC_MATCH flag. The caller must provide an + * array of paths (no patterns or prefixes). Only values included in + * that list will be returned. + */ + GIT_DIFF_ENABLE_FILELIST_MATCH = (1u << 18), + /* * Options controlling how output will be generated */ |
