Code

clean up add_object_entry()
authorNicolas Pitre <nico@cam.org>
Wed, 11 Apr 2007 02:54:36 +0000 (22:54 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Apr 2007 02:35:25 +0000 (19:35 -0700)
commit29b734e4788143603adf8046174219bac67794e0
tree81b615bf201b732f92619366e6e1538046927fc4
parent6e5417769c587c8b1f3412e19a1f80645fe82a3c
clean up add_object_entry()

This function used to call locate_object_entry_hash() _twice_ per added
object while only once should suffice. Let's reorganize that code a bit.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c