diff options
author | Nicolas Pitre <nico@cam.org> | 2006-09-21 00:05:37 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-23 01:51:33 -0700 |
commit | 43057304c0bbaf7bc7511daaf81df08c7909a90b (patch) | |
tree | cd6fa0d7aea39d7a3f5e9b1f37e123ec348f045a /Documentation/git-convert-objects.txt | |
parent | 16854571aae6302f457c5fbee41ac64669b09595 (diff) | |
download | git-43057304c0bbaf7bc7511daaf81df08c7909a90b.tar.gz |
many cleanups to sha1_file.c
Those cleanups are mainly to set the table for the support of deltas
with base objects referenced by offsets instead of sha1. This means
that many pack lookup functions are converted to take a pack/offset
tuple instead of a sha1.
This eliminates many struct pack_entry usages since this structure
carried redundent information in many cases, and it increased stack
footprint needlessly for a couple recursively called functions that used
to declare a local copy of it for every recursion loop.
In the process, packed_object_info_detail() has been reorganized as well
so to look much saner and more amenable to deltas with offset support.
Finally the appropriate adjustments have been made to functions that
depend on the above changes. But there is no functionality changes yet
simply some code refactoring at this point.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-convert-objects.txt')
0 files changed, 0 insertions, 0 deletions