]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ab/checkout-branch-info-leakfix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Jan 2022 17:14:46 +0000 (09:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Jan 2022 17:14:46 +0000 (09:14 -0800)
commitc6e19e47a60c0174f805db8e1624db38ff889523
tree5528f62eb204380d4586f83653d0382c640c0c2b
parent7ea759cf9b8a4789e6fb3d12b618b3b9a005765a
parent519947b69a9ea1461d5f5afc762823835295b3b2
Merge branch 'ab/checkout-branch-info-leakfix'

We added an unrelated sanity checking that leads to a BUG() while
plugging a leak, which triggered in a repository with symrefs in
the local branch namespace that point at a ref outside.  Partially
revert the change to avoid triggering the BUG().

* ab/checkout-branch-info-leakfix:
  checkout: avoid BUG() when hitting a broken repository
builtin/checkout.c
t/t2018-checkout-branch.sh