summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 00:06:09 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 00:06:09 (GMT)
commit291ec0f2d2ce65e5ccb876b46d6468af49ddb82e (patch)
treea1d3a4e01516f1d924c407a9e42a6df0d13b43b6 /upload-pack.c
parent72347a233e6f3c176059a28f0817de6654ef29c7 (diff)
downloadgit-291ec0f2d2ce65e5ccb876b46d6468af49ddb82e.zip
git-291ec0f2d2ce65e5ccb876b46d6468af49ddb82e.tar.gz
git-291ec0f2d2ce65e5ccb876b46d6468af49ddb82e.tar.bz2
Don't special-case a zero-sized compression.
zlib actually writes a header for that case, and while ignoring that header will get us the right data, it will also end up messing up our stream position. So we actually want zlib to "uncompress" even an empty object.
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions