Commit 9cdd657887d5fc7cf5a5819e60900d67513ca1ff

Carlos Martín Nieto 2015-05-09T13:11:46

Merge pull request #3104 from whoisj/optimal-buffer-size Adjusting stream buffer size to 64KB

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/filter.c b/src/filter.c
index 19c793e..ce74216 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -875,7 +875,7 @@ void stream_list_free(git_vector *streams)
 	git_vector_free(streams);
 }
 
-#define STREAM_BUFSIZE 10240
+#define STREAM_BUFSIZE 65536
 
 int git_filter_list_stream_file(
 	git_filter_list *filters,