summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-08-26 08:12:04 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-27 00:35:20 (GMT)
commit465b26eeef79e3cb4cb6276e405e59d986069926 (patch)
treef0f0b2e7c81d21f5a5ab826d9e9b0a7711cf55df /git-compat-util.h
parent5a18f540a5f8f8ba8b4f8027ed7742bfec85433c (diff)
downloadgit-465b26eeef79e3cb4cb6276e405e59d986069926.zip
git-465b26eeef79e3cb4cb6276e405e59d986069926.tar.gz
git-465b26eeef79e3cb4cb6276e405e59d986069926.tar.bz2
Cleanup unpack_object_header to use only offsets.
If we're always incrementing both the offset and the pointer we aren't gaining anything by keeping both. Instead just use the offset since that's what we were given and what we are expected to return. Also using offset is likely to make it easier to remap the pack in the future should partial mapping of very large packs get implemented. 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