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

From: Han Xin <[email-masked]>
Date: Fri, 20 May 2022 11:05:13 +0800

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-masked]/

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

-- 
2.36.1