summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-04-25 15:24:05 -0700
committerRussell Belfer <rb@github.com>2012-04-25 15:24:05 -0700
commit3fc5c65d1a072fc727226cd66a1b096df4919da5 (patch)
tree3d0a6a9d43c715d77b2c0b151ed344253011631d /src/diff.h
parentf50087c03b08230ba7d912e827a72e857128a7a8 (diff)
parentc2b670436f4cc8901811ae0348f3c56150d1ccd5 (diff)
downloadlibgit2-3fc5c65d1a072fc727226cd66a1b096df4919da5.tar.gz
Merge pull request #642 from arrbee/mem-pools
Memory pools and khash hashtables
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h
index 9da07c295..4de18beea 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -12,6 +12,7 @@
#include "buffer.h"
#include "iterator.h"
#include "repository.h"
+#include "pool.h"
enum {
GIT_DIFFCAPS_HAS_SYMLINKS = (1 << 0), /* symlinks on platform? */
@@ -26,6 +27,7 @@ struct git_diff_list {
git_diff_options opts;
git_vector pathspec;
git_vector deltas; /* vector of git_diff_file_delta */
+ git_pool pool;
git_iterator_type_t old_src;
git_iterator_type_t new_src;
uint32_t diffcaps;