X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=diff.c;h=428ff786ebdbd48a47ae5faf4c65c01e38403ad4;hb=12f6c308d53509dcb11e309604457d21d60438db;hp=5a71489a471568fb3aa51af5d74fa269ec4fadf1;hpb=9fdc3bb5c20e37e410e03ed5b6c71a7e647ccee8;p=git.git diff --git a/diff.c b/diff.c index 5a71489a4..428ff786e 100644 --- a/diff.c +++ b/diff.c @@ -583,7 +583,7 @@ static unsigned char *deflate_it(char *data, z_stream stream; memset(&stream, 0, sizeof(stream)); - deflateInit(&stream, Z_BEST_COMPRESSION); + deflateInit(&stream, zlib_compression_level); bound = deflateBound(&stream, size); deflated = xmalloc(bound); stream.next_out = deflated;