Cleanup unpack_entry_gently and friends to use type_name array.
commit5a18f540a5f8f8ba8b4f8027ed7742bfec85433c
authorShawn Pearce <spearce@spearce.org>
Sat, 26 Aug 2006 08:11:36 +0000 (26 04:11 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 00:35:18 +0000 (26 17:35 -0700)
tree413fd3696ec2aa9303131f4ec46ab60f96915610
parent7c3e8be30718f9866f330044fe2a0a7c5b2c3461
Cleanup unpack_entry_gently and friends to use type_name array.

[PATCH 3/5] Cleanup unpack_entry_gently and friends to use type_name array.

This change allows combining all of the non-delta entries into a
single case, as well as to remove an unnecessary local variable
in unpack_entry_gently.

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