[PATCH 08/27] pack: move approximate object count to object store

2018-03-23 Thread Nguyễn Thái Ngọc Duy
From: Stefan Beller 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

Re: [PATCH 08/27] pack: move approximate object count to object store

2018-02-26 Thread Stefan Beller
On Mon, Feb 26, 2018 at 12:55 AM, Jeff King wrote: > On Fri, Feb 23, 2018 at 02:22:14PM -0800, Stefan Beller wrote: > >> >> + /* >> >> + * A fast, rough count of the number of objects in the repository. >> >> + * These two fields are not meant for direct access. Use

Re: [PATCH 08/27] pack: move approximate object count to object store

2018-02-26 Thread Jeff King
On Fri, Feb 23, 2018 at 02:22:14PM -0800, Stefan Beller wrote: > >> + /* > >> + * A fast, rough count of the number of objects in the repository. > >> + * These two fields are not meant for direct access. Use > >> + * approximate_object_count() instead. > >> + */ > >> +

Re: [PATCH 08/27] pack: move approximate object count to object store

2018-02-23 Thread Stefan Beller
On Wed, Feb 21, 2018 at 4:47 PM, Brandon Williams wrote: > On 02/20, Stefan Beller wrote: >> 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

Re: [PATCH 08/27] pack: move approximate object count to object store

2018-02-21 Thread Brandon Williams
On 02/20, Stefan Beller wrote: > 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

[PATCH 08/27] pack: move approximate object count to object store

2018-02-20 Thread Stefan Beller
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: