summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Shawn Pearce <spearce@spearce.org>2006-08-26 04:12:27 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-26 17:35:21 -0700
commiteb950c192a0e0dfc069e16e857cbe1ae16d8ad82 (patch)
treeed2e093e5d0caa9727005e35296bfd787d594e91 /dir.c
parentCleanup unpack_object_header to use only offsets. (diff)
downloadtgif-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