Merge branch 'jk/dont-count-existing-objects-twice'
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Sep 2020 19:36:31 +0000 (12:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Sep 2020 19:36:32 +0000 (12:36 -0700)
commit221b755f3a99f600d08441fc5436d0f2ffe57065
treef0bdb3b7ae7592f3f2d5c128ec3826e5cbe9b5b4
parent26a3728bedbdf75c670e21d24f6a30e4673f8d19
parent67bb65de5ddf008cb39206354ae4b7af66c05b6c
Merge branch 'jk/dont-count-existing-objects-twice'

There is a logic to estimate how many objects are in the
repository, which is mean to run once per process invocation, but
it ran every time the estimated value was requested.

* jk/dont-count-existing-objects-twice:
  packfile: actually set approximate_object_count_valid
packfile.c