Re: [PATCH v2 4/5] pack-objects: show some progress when counting kept objects

2018-03-16 Thread Duy Nguyen
On Fri, Mar 16, 2018 at 8:14 PM, Duy Nguyen wrote: > On Mon, Mar 12, 2018 at 7:32 PM, Ævar Arnfjörð Bjarmason > wrote: >> >> On Tue, Mar 06 2018, Nguyễn Thái Ngọc Duy jotted: >> >>> We only show progress when there are new objects to be packed. But >>> when

Re: [PATCH v2 4/5] pack-objects: show some progress when counting kept objects

2018-03-16 Thread Duy Nguyen
On Mon, Mar 12, 2018 at 7:32 PM, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Mar 06 2018, Nguyễn Thái Ngọc Duy jotted: > >> We only show progress when there are new objects to be packed. But >> when --keep-pack is specified on the base pack, we will exclude most >> of objects.

Re: [PATCH v2 4/5] pack-objects: show some progress when counting kept objects

2018-03-12 Thread Ævar Arnfjörð Bjarmason
On Tue, Mar 06 2018, Nguyễn Thái Ngọc Duy jotted: > We only show progress when there are new objects to be packed. But > when --keep-pack is specified on the base pack, we will exclude most > of objects. This makes 'pack-objects' stay silent for a long time > while the counting phase is going. >

[PATCH v2 4/5] pack-objects: show some progress when counting kept objects

2018-03-06 Thread Nguyễn Thái Ngọc Duy
We only show progress when there are new objects to be packed. But when --keep-pack is specified on the base pack, we will exclude most of objects. This makes 'pack-objects' stay silent for a long time while the counting phase is going. Let's show some progress whenever we visit an object