summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-06 20:44:24 -0500
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-07 11:02:38 -0800
commit7cadf491c6d7a29e345e1608c23b0d98cee5e848 (patch)
treea2a9acd0f6834e4c2e9be393abae21aa0bb11fef /git-compat-util.h
parentUse uint32_t for all packed object counts. (diff)
downloadtgif-7cadf491c6d7a29e345e1608c23b0d98cee5e848.tar.xz
Use uint32_t for pack-objects counters.
As we technically try to support up to a maximum of 2**32-1 objects in a single packfile we should act like it and use unsigned 32 bit integers for all of our object counts and progress output. This change does not modify everything in pack-objects that probably needs to change to fully support the maximum of 2**32-1 objects. I'm intentionally breaking the improvements into slightly smaller commits to make them easier to follow. No logic change should be occuring here, with the exception that some comparsions will now work properly when the number of objects exceeds 2**31-1. 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