Re: [PATCH] checkout: fix BUG() case in 9081a421a6
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 20, 2022, 22:33 UTC
- Message-ID
- <xmqqa6fqghq4.fsf@gitster.g>
- In-Reply-To
- <xmqqee52ghwg.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> So from my point of view, BUG() is indeed inappropriate because what > the conditional statement noticed was a broken repository, and not a > programming bug.
Forgot to say: "; it should have been at least a warning(), if not a die()".