diff options
author | Russell Belfer <rb@github.com> | 2013-06-11 11:22:22 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-11 11:22:22 -0700 |
commit | 5dc98298a14a9adae3cf8b21fb01f682791c29c7 (patch) | |
tree | ed0e5ab97a3e7d6d03b9959265693665f950cef6 /include/git2/diff.h | |
parent | 3eadfecd325d355d3f8a9631d9c89b7e8eede98b (diff) | |
download | libgit2-5dc98298a14a9adae3cf8b21fb01f682791c29c7.tar.gz |
Implement regex pattern diff driver
This implements the loading of regular expression pattern lists
for diff drivers that search for function context in that way.
This also changes the way that diff drivers update options and
interface with xdiff APIs to make them a little more flexible.
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r-- | include/git2/diff.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index d26456cb0..40e65b1e4 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -148,6 +148,9 @@ typedef enum { * Of course, ignore rules are still checked for the directory itself. */ GIT_DIFF_FAST_UNTRACKED_DIRS = (1 << 19), + + /** Treat all files as binary, disabling text diffs */ + GIT_DIFF_FORCE_BINARY = (1 << 20), } git_diff_option_t; /** |