mbox series

[0/3] bundle.c: remove "ref_list" in favor of string-list.c API

Message ID cover-0.3-0000000000-20210617T111934Z-avarab@gmail.com (mailing list archive)
Headers show
Series bundle.c: remove "ref_list" in favor of string-list.c API | expand

Message

Ævar Arnfjörð Bjarmason June 17, 2021, 11:21 a.m. UTC
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(-)