summaryrefslogtreecommitdiff
path: root/src/filter.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-17 20:25:31 +0000
committerEdward Thomson <ethomson@microsoft.com>2015-02-17 16:03:45 -0500
commit646364e780c65b1af2e28a7bdeabd22b67816454 (patch)
tree41788ffd76de01e2f995a00bd127c35f5aa73109 /src/filter.h
parente78f5c9f4282319cf8e1afc8631e6259e91653a6 (diff)
downloadlibgit2-646364e780c65b1af2e28a7bdeabd22b67816454.tar.gz
checkout: maintain temporary buffer for filters
Let the filters use the checkout data's temporary buffer, instead of having to allocate new buffers each time.
Diffstat (limited to 'src/filter.h')
-rw-r--r--src/filter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filter.h b/src/filter.h
index 390ffebad..53f3afdbb 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -24,6 +24,9 @@ typedef enum {
GIT_CRLF_AUTO,
} git_crlf_t;
+extern void git_filter_list__set_temp_buf(
+ git_filter_list *fl, git_buf *temp_buf);
+
extern void git_filter_free(git_filter *filter);
extern int git_filter_list__load_with_attr_session(