[PATCH 0/3] bundle.c: remove "ref_list" in favor of string-list.c API
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jun 17, 2021, 11:21 UTC
- Message-ID
- <cover-0.3-0000000000-20210617T111934Z-avarab@gmail.com>
Converts the bundle.c code to use the string-list.c API, getting rid of some duplication in the codebase, while doing that stop the bundle command-line tool and its API from leaking memory in some common cases.
Ævar Arnfjörð Bjarmason (3): bundle cmd: stop leaking memory from parse_options_cmd_bundle() bundle.c: use a temporary variable for OIDs and names bundle: remove "ref_list" in favor of string-list.c API
builtin/bundle.c | 91 ++++++++++++++++++++++++++++++++---------------- bundle.c | 72 +++++++++++++++++++++----------------- bundle.h | 20 +++++------ transport.c | 11 ++++-- 4 files changed, 119 insertions(+), 75 deletions(-)
-- 2.32.0.571.gdba276db2c