summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-08-26 08:12:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-27 00:35:21 (GMT)
commiteb950c192a0e0dfc069e16e857cbe1ae16d8ad82 (patch)
treeed2e093e5d0caa9727005e35296bfd787d594e91 /git-compat-util.h
parent465b26eeef79e3cb4cb6276e405e59d986069926 (diff)
downloadgit-eb950c192a0e0dfc069e16e857cbe1ae16d8ad82.zip
git-eb950c192a0e0dfc069e16e857cbe1ae16d8ad82.tar.gz
git-eb950c192a0e0dfc069e16e857cbe1ae16d8ad82.tar.bz2
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 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions