[PATCH v3 5/5] builtin/gc: add --assume-pack-keep-transitive

2019-06-24 Thread Nathaniel Filardo
Just pass it on down to builtin/repack. Signed-off-by: Nathaniel Filardo --- Documentation/git-gc.txt | 4 builtin/gc.c | 5 + 2 files changed, 9 insertions(+) diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index 247f765604..6f9f15ef19 100644 --- a

[PATCH v3 1/5] count-objects: report statistics about kept packs

2019-06-24 Thread Nathaniel Filardo
field. Update tests which were searching for the "in-pack" field without the terminating colon and so were now also picking up the "in-pack-keep" field. Signed-off-by: Nathaniel Filardo update count-objects --- Documentation/git-count-objects.txt | 8

[PATCH v3 2/5] revision walk: optionally use sparse reachability

2019-06-24 Thread Nathaniel Filardo
nded. Signed-off-by: Nathaniel Filardo --- bisect.c | 2 +- builtin/pack-objects.c | 3 ++- builtin/rev-list.c | 2 +- http-push.c| 2 +- list-objects.c | 5 ++--- list-objects.h | 3 +-- revision.c | 3 ++- revision.h | 1 +

[PATCH v3 0/5] Speed up repacking when lots of pack-kept objects

2019-06-24 Thread Nathaniel Filardo
Stolee, is rebased, and is updated to pass "make test". Nathaniel Filardo (5): count-objects: report statistics about kept packs revision walk: optionally use sparse reachability repack: add --sparse and pass to pack-objects repack: optionally assume transitive kept packs

[PATCH v3 4/5] repack: optionally assume transitive kept packs

2019-06-24 Thread Nathaniel Filardo
cted to be more dramatic when the repository is on spinning rust rather than SSD. Signed-off-by: Nathaniel Filardo --- Documentation/git-repack.txt | 21 + builtin/repack.c | 57 ++-- 2 files changed, 76 insertions(+), 2 deletions(-

[PATCH v3 3/5] repack: add --sparse and pass to pack-objects

2019-06-24 Thread Nathaniel Filardo
The sparse connectivity algorithm saves a whole lot of time when there are UNINTERESTING trees around. --- Documentation/git-repack.txt | 4 builtin/repack.c | 5 + t/t5322-pack-objects-sparse.sh | 6 ++ 3 files changed, 15 insertions(+) diff --git a/Documentation/git

[PATCHv2 2/5] revision walk: optionally use sparse reachability

2019-03-16 Thread Nathaniel Filardo
nded. Signed-off-by: Nathaniel Filardo --- bisect.c | 2 +- builtin/pack-objects.c | 3 ++- builtin/rev-list.c | 2 +- http-push.c| 2 +- list-objects.c | 5 ++--- list-objects.h | 3 +-- revision.c | 3 ++- revision.h | 1 +

[PATCHv2 4/5] repack: optionally assume transitive kept packs

2019-03-16 Thread Nathaniel Filardo
cted to be more dramatic when the repository is on spinning rust rather than SSD. Signed-off-by: Nathaniel Filardo --- Documentation/git-repack.txt | 21 + builtin/repack.c | 57 ++-- 2 files changed, 76 insertions(+), 2 deletions(-

[PATCHv2 0/5] Speed up repacking when lots of pack-kept objects

2019-03-16 Thread Nathaniel Filardo
ake two incorporates feedback from Derrick Stolee. Nathaniel Filardo (5): count-objects: report statistics about kept packs revision walk: optionally use sparse reachability repack: add --sparse and pass to pack-objects repack: optionally assume transitive kept packs builtin/gc: add --assume-

[PATCHv2 1/5] count-objects: report statistics about kept packs

2019-03-16 Thread Nathaniel Filardo
ield. Signed-off-by: Nathaniel Filardo --- Documentation/git-count-objects.txt | 8 builtin/count-objects.c | 17 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Documentation/git-count-objects.txt b/Documentation/git-count-objects.

[PATCHv2 5/5] builtin/gc: add --assume-pack-keep-transitive

2019-03-16 Thread Nathaniel Filardo
Just pass it on down to builtin/repack. Signed-off-by: Nathaniel Filardo --- Documentation/git-gc.txt | 5 + builtin/gc.c | 5 + 2 files changed, 10 insertions(+) diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index a7c1b0f60e..7115564f7d 100644 --- a

[PATCHv2 3/5] repack: add --sparse and pass to pack-objects

2019-03-16 Thread Nathaniel Filardo
The sparse connectivity algorithm saves a whole lot of time when there are UNINTERESTING trees around. --- Documentation/git-repack.txt | 4 builtin/repack.c | 5 + t/t5322-pack-objects-sparse.sh | 6 ++ 3 files changed, 15 insertions(+) diff --git a/Documentation/git

[PATCH 2/4] revision walk: optionally use sparse reachability

2019-03-12 Thread Nathaniel Filardo
has a chance to be faster by being sparse. Signed-off-by: Nathaniel Filardo --- bisect.c | 2 +- blame.c | 2 +- builtin/checkout.c | 2 +- builtin/commit.c | 2 +- builtin/describe.c | 2 +- builtin

[PATCH 4/4] repack: optionally assume transitive kept packs

2019-03-12 Thread Nathaniel Filardo
screpancy can be expected to be more dramatic when the repository is on spinning rust rather than SSD. Signed-off-by: Nathaniel Filardo --- Documentation/git-gc.txt | 5 Documentation/git-repack.txt | 21 ++ builtin/gc.c | 5 builtin/

[PATCH 0/4] Speed up repacking when lots of pack-kept objects

2019-03-12 Thread Nathaniel Filardo
ll feedback is quite welcome. Nathaniel Filardo (4): count-objects: report statistics about kept packs revision walk: optionally use sparse reachability repack: add --sparse and pass to pack-objects repack: optionally assume transitive kept packs Documentation/git-gc.txt | 5 ++

[PATCH 1/4] count-objects: report statistics about kept packs

2019-03-12 Thread Nathaniel Filardo
Specifically: number of kept packs, size of kept packs (and indexes), and number of objects in kept packs. Signed-off-by: Nathaniel Filardo --- builtin/count-objects.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/builtin/count-objects.c b/builtin/count

[PATCH 3/4] repack: add --sparse and pass to pack-objects

2019-03-12 Thread Nathaniel Filardo
The sparse connectivity algorithm saves a whole lot of time when there are UNINTERESTING trees around. --- Documentation/git-repack.txt | 4 builtin/repack.c | 10 ++ 2 files changed, 14 insertions(+) diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.t