summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@elegosoft.com>2011-04-11 12:38:50 +0200
committerJakob Pfender <jpfender@elegosoft.com>2011-04-11 12:38:50 +0200
commit1eb0f68ec7735bd3df8f9cb49fed232d1bbfae3d (patch)
treea649cb025892f8f3947ba4cbd0fa98ff3ae9b368 /src/filebuf.c
parentfd279b262df31c9a5d88db78e9e9a6de07e62979 (diff)
parentfdd0cc9e8948bb65c9a461c58e5094a3613bd975 (diff)
downloadlibgit2-1eb0f68ec7735bd3df8f9cb49fed232d1bbfae3d.tar.gz
merge branch development
Diffstat (limited to 'src/filebuf.c')
-rw-r--r--src/filebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index dff9373f6..eb93424ef 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -178,7 +178,7 @@ int git_filebuf_open(git_filebuf *file, const char *path, int flags)
if (flags & GIT_FILEBUF_DEFLATE_CONTENTS) {
/* Initialize the ZLib stream */
- if (deflateInit(&file->zs, Z_DEFAULT_COMPRESSION) != Z_OK) {
+ if (deflateInit(&file->zs, Z_BEST_SPEED) != Z_OK) {
error = GIT_EZLIB;
goto cleanup;
}