Skip to content

unpack-objects: low memory footprint for get_data() in dry_run mode

Han Xin git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1unpack-objects: low memory footprint for get_data() in dry_run modebuiltin/unpack-objects.c t/t5351-unpack-large-objects.sh+64 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] unpack-objects: low memory footprint for get_data() in dry_run mode

This patch teaches "git unpack-objects" to use a lower memory footprint for "get_data()" in dry-run mode since the returned data is not used.

This patch is separeted from "[PATCH v12 0/8] unpack-objects: support streaming blobs to disk"[1] because it has less impact and less controversy on existing ones.

1. https://lore.kernel.org/git/[email protected]/

Han Xin (1):
unpack-objects: low memory footprint for get_data() in dry_run mode

 builtin/unpack-objects.c        | 34 ++++++++++++++++++---------
 t/t5351-unpack-large-objects.sh | 41 +++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 11 deletions(-)
 create mode 100755 t/t5351-unpack-large-objects.sh
Signature · 1 line
2.36.1