]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
builtin/checkout.c
t/t2018-checkout-branch.sh

Simple merge
Simple merge