diff options
| author | Stefan Beller <sbeller@google.com> | 2018-03-23 18:21:02 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-26 10:05:55 -0700 |
| commit | 9a00580d0383fe60c70e966e66584e626ca3a846 (patch) | |
| tree | 3baff3d5f186ea0134d4b25acea0b23a37a2bd72 /t/t4013/diff.diff_initial..side | |
| parent | pack: move prepare_packed_git_run_once to object store (diff) | |
| download | git-9a00580d0383fe60c70e966e66584e626ca3a846.tar.gz git-9a00580d0383fe60c70e966e66584e626ca3a846.zip | |
pack: move approximate object count to object store
The approximate_object_count() function maintains a rough count of
objects in a repository to estimate how long object name abbreviates
should be. Object names are scoped to a repository and the
appropriate length may differ by repository, so the object count
should not be global.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
