diff options
author | Shawn Pearce <spearce@spearce.org> | 2006-08-26 04:12:27 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-26 17:35:21 -0700 |
commit | eb950c192a0e0dfc069e16e857cbe1ae16d8ad82 (patch) | |
tree | ed2e093e5d0caa9727005e35296bfd787d594e91 /dir.c | |
parent | Cleanup unpack_object_header to use only offsets. (diff) | |
download | tgif-eb950c192a0e0dfc069e16e857cbe1ae16d8ad82.tar.xz |
Convert unpack_entry_gently and friends to use offsets.
Change unpack_entry_gently and its helper functions to use offsets
rather than addresses and left counts to supply pack position
information. In most cases this makes the code easier to follow,
and it reduces the number of local variables in a few functions.
It also better prepares this code for mapping partial segments of
packs and altering what regions of a pack are mapped while unpacking
an entry.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions