Reuse compression code in unpack_compressed_entry.
commit7c3e8be30718f9866f330044fe2a0a7c5b2c3461
authorShawn Pearce <spearce@spearce.org>
Sat, 26 Aug 2006 08:11:02 +0000 (26 04:11 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 00:35:17 +0000 (26 17:35 -0700)
tree74ddf74de573255c4f1dadfb750c841fe6c22b98
parentde530aaa4b57b1edd9b973d814d7df8354752ccc
Reuse compression code in unpack_compressed_entry.

[PATCH 2/5] Reuse compression code in unpack_compressed_entry.

This cleans up the code by reusing a perfectly good decompression
implementation at the expense of 1 extra byte of memory allocated in
temporary memory while the delta is being decompressed and applied
to the base.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c