diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-04-11 17:41:21 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@elego.de> | 2011-04-11 17:43:56 +0200 |
commit | 55c197cdd37b34c7b4877bc0434c297075e11222 (patch) | |
tree | 05dcc126d117b1753e07f0a173cf9498a38ac4f9 /src/filebuf.c | |
parent | b075b9910c56c356d53439fd34486a905146211a (diff) | |
parent | fdd0cc9e8948bb65c9a461c58e5094a3613bd975 (diff) | |
download | libgit2-55c197cdd37b34c7b4877bc0434c297075e11222.tar.gz |
Merge upstream/development
Diffstat (limited to 'src/filebuf.c')
-rw-r--r-- | src/filebuf.c | 2 |
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; } |