diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-17 20:25:31 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-02-17 16:03:45 -0500 |
commit | 646364e780c65b1af2e28a7bdeabd22b67816454 (patch) | |
tree | 41788ffd76de01e2f995a00bd127c35f5aa73109 /src/filter.h | |
parent | e78f5c9f4282319cf8e1afc8631e6259e91653a6 (diff) | |
download | libgit2-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.h | 3 |
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( |