summaryrefslogtreecommitdiff
path: root/pack-check.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-03-07 01:44:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-07 19:02:38 (GMT)
commit7cadf491c6d7a29e345e1608c23b0d98cee5e848 (patch)
treea2a9acd0f6834e4c2e9be393abae21aa0bb11fef /pack-check.c
parent326bf396778bc9ab8f9e253bb514e7f41ef1502b (diff)
downloadgit-7cadf491c6d7a29e345e1608c23b0d98cee5e848.zip
git-7cadf491c6d7a29e345e1608c23b0d98cee5e848.tar.gz
git-7cadf491c6d7a29e345e1608c23b0d98cee5e848.tar.bz2
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 'pack-check.c')
0 files changed, 0 insertions, 0 deletions