author | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Aug 2009 22:36:31 +0000 (15:36 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Aug 2009 03:42:45 +0000 (20:42 -0700) | ||
commit | 262b04fa8dce84596738fd8c0dbff52994388efa | |
tree | e07e7eabe552da67f0f328a234d9c17a17027384 | tree | snapshot |
parent | 2e674a9d090f0d9be71c8143ae6c0fba04a160cc | commit | diff |
verify-pack -v: do not report "chain length 0"
When making a histogram of delta chain length in the pack, the program
collects number of objects whose delta depth exceeds the MAX_CHAIN limit
in histogram[0], and showed it as the number of items that exceeds the
limit correctly. HOWEVER, it also showed the same number labeled as
"chain length = 0".
In fact, we are not showing the number of objects whose chain length is
zero, i.e. the base objects. Correct this.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When making a histogram of delta chain length in the pack, the program
collects number of objects whose delta depth exceeds the MAX_CHAIN limit
in histogram[0], and showed it as the number of items that exceeds the
limit correctly. HOWEVER, it also showed the same number labeled as
"chain length = 0".
In fact, we are not showing the number of objects whose chain length is
zero, i.e. the base objects. Correct this.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-verify-pack.c | diff | blob | history |