summaryrefslogtreecommitdiff
path: root/test-sha1.c
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2007-04-09 01:06:28 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-10 12:48:14 -0700
commit57059091fad25427bce9b3d47e073ce0518d164b (patch)
tree9e51d626819d9eedc260a157774dc8fe1f06f5e4 /test-sha1.c
parentgit-archive: make tar the default format (diff)
downloadtgif-57059091fad25427bce9b3d47e073ce0518d164b.tar.xz
get rid of num_packed_objects()
The coming index format change doesn't allow for the number of objects to be determined from the size of the index file directly. Instead, Let's initialize a field in the packed_git structure with the object count when the index is validated since the count is always known at that point. While at it let's reorder some struct packed_git fields to avoid padding due to needed 64-bit alignment for some of them. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'test-sha1.c')
0 files changed, 0 insertions, 0 deletions