mbox series

[0/2] bundle: fix handling of object format

Message ID cover.1723540604.git.ps@pks.im (mailing list archive)
Headers show
Series bundle: fix handling of object format | expand

Message

Patrick Steinhardt Aug. 13, 2024, 9:18 a.m. UTC
Hi,

this small patch series addresses the segfaults reported by
ArcticLampyrid and fixes parsing of bundles that have an object hash
different than the object hash of the current repository.

Thanks!

Patrick

Patrick Steinhardt (2):
  builtin/bundle: have unbundle check for repo before opening its bundle
  bundle: default to SHA1 when reading bundle headers

 builtin/bundle.c       |  5 +++--
 bundle.c               |  7 ++++++-
 t/t6020-bundle-misc.sh | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 3 deletions(-)