diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-01-16 04:55:41 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-01-16 04:55:41 -0500 |
commit | a7ddc48765ff2e4f6601ea146cba4283a342e0b1 (patch) | |
tree | e797d1371e635c6fe55e2ec055c00b469f694c4c /archive.h | |
parent | Correct max_packsize default in fast-import. (diff) | |
download | tgif-a7ddc48765ff2e4f6601ea146cba4283a342e0b1.tar.xz |
Correct object_count type and stat output in fast-import.
Since object_count is limited to 'unsigned long' (really an
unsigned 32 bit integer value) by the pack file format we may as
well use exactly that type here in fast-import for that counter.
An earlier change by me incorrectly made it uintmax_t.
But since object_count is a counter for the current packfile only,
we don't want to output its value at the end. Instead we should
sum up the individual type counters and report that total, as that
will cover all of the packfiles.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'archive.h')
0 files changed, 0 insertions, 0 deletions