Re: [PATCH v3 7/9] multi-pack-index: prepare 'repack' subcommand

2019-01-24 Thread Jonathan Tan
> Thanks for the suggestion. > > It is slightly wrong, in that we don't sort by size. Instead we sort by > modified time. That makes is a little complicated, but I'll give it > another shot using your framing: > >     Create a new pack-file containing objects in small pack-files >    

Re: [PATCH v3 7/9] multi-pack-index: prepare 'repack' subcommand

2019-01-24 Thread Derrick Stolee
On 1/23/2019 5:38 PM, Jonathan Tan wrote: diff --git a/Documentation/git-multi-pack-index.txt b/Documentation/git-multi-pack-index.txt index 6186c4c936..cc63531cc0 100644 --- a/Documentation/git-multi-pack-index.txt +++ b/Documentation/git-multi-pack-index.txt @@ -36,6 +36,17 @@ expire::

Re: [PATCH v3 7/9] multi-pack-index: prepare 'repack' subcommand

2019-01-23 Thread Jonathan Tan
> diff --git a/Documentation/git-multi-pack-index.txt > b/Documentation/git-multi-pack-index.txt > index 6186c4c936..cc63531cc0 100644 > --- a/Documentation/git-multi-pack-index.txt > +++ b/Documentation/git-multi-pack-index.txt > @@ -36,6 +36,17 @@ expire:: > have no objects referenced by t

Re: [PATCH v3 7/9] multi-pack-index: prepare 'repack' subcommand

2019-01-09 Thread SZEDER Gábor
On Wed, Jan 09, 2019 at 07:21:17AM -0800, Derrick Stolee via GitGitGadget wrote: > Introduce a 'repack' subcommand to 'git multi-pack-index' that > takes a '--batch-size' option. The verb will inspect the s/verb/subcommand/ > diff --git a/builtin/multi-pack-index.c b/builtin/multi-pack-index.c >

[PATCH v3 7/9] multi-pack-index: prepare 'repack' subcommand

2019-01-09 Thread Derrick Stolee via GitGitGadget
From: Derrick Stolee In an environment where the multi-pack-index is useful, it is due to many pack-files and an inability to repack the object store into a single pack-file. However, it is likely that many of these pack-files are rather small, and could be repacked into a slightly larger pack-fi