aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-03-23 18:21:02 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-26 10:05:55 -0700
commit9a00580d0383fe60c70e966e66584e626ca3a846 (patch)
tree3baff3d5f186ea0134d4b25acea0b23a37a2bd72 /t/t4013/diff.diff_initial..side
parentpack: move prepare_packed_git_run_once to object store (diff)
downloadgit-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