Re: [PATCH v5 2/5] pack-redundant: new algorithm to find min packs

2019-01-10 Thread SZEDER Gábor
On Thu, Jan 10, 2019 at 08:01:39PM +0800, Jiang Xin wrote: > diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c > index cf9a9aabd4..3655cc7dc6 100644 > --- a/builtin/pack-redundant.c > +++ b/builtin/pack-redundant.c > @@ -446,49 +484,37 @@ static void minimize(struct pack_list **min)

[PATCH v5 2/5] pack-redundant: new algorithm to find min packs

2019-01-10 Thread Jiang Xin
From: Sun Chao When calling `git pack-redundant --all`, if there are too many local packs and too many redundant objects within them, the too deep iteration of `get_permutations` will exhaust all the resources, and the process of `git pack-redundant` will be killed. The following script could cr