diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-07 04:44:24 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-07 22:02:38 +0300 |
commit | 7cadf491c6d7a29e345e1608c23b0d98cee5e848 (patch) | |
tree | a2a9acd0f6834e4c2e9be393abae21aa0bb11fef /builtin-count-objects.c | |
parent | 326bf396778bc9ab8f9e253bb514e7f41ef1502b (diff) |
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 'builtin-count-objects.c')
0 files changed, 0 insertions, 0 deletions