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 9424ffd06..334614680 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -444,6 +444,13 @@ typedef struct { * Defaults to "b". */ const char *new_prefix; + + /** + * Ignore lines matching the given regular expression(s); both + * the preimage and postimage lines must match. + */ + const char **ignore_regexp; + size_t ignore_regexp_count; } git_diff_options; /* The current version of the diff options structure */ |