summaryrefslogtreecommitdiff
path: root/src/diff_file.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-11 11:22:22 -0700
committerRussell Belfer <rb@github.com>2013-06-11 11:22:22 -0700
commit5dc98298a14a9adae3cf8b21fb01f682791c29c7 (patch)
treeed0e5ab97a3e7d6d03b9959265693665f950cef6 /src/diff_file.h
parent3eadfecd325d355d3f8a9631d9c89b7e8eede98b (diff)
downloadlibgit2-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 'src/diff_file.h')
-rw-r--r--src/diff_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diff_file.h b/src/diff_file.h
index 51c6878a9..ab7b1dc1f 100644
--- a/src/diff_file.h
+++ b/src/diff_file.h
@@ -15,9 +15,10 @@
/* expanded information for one side of a delta */
typedef struct {
git_repository *repo;
- const git_diff_options *opts;
git_diff_file file;
git_diff_driver *driver;
+ uint32_t opts_flags;
+ git_off_t opts_max_size;
git_iterator_type_t src;
const git_blob *blob;
git_map map;