diff options
| author | Elijah Newren <newren@gmail.com> | 2023-11-24 12:10:33 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-26 10:10:48 +0900 |
| commit | a9df61ace31b84c9609dfa4875e93b8c92e06e56 (patch) | |
| tree | 11a223de282c664a7fa44b471685b017a7b6175e /t/unit-tests/t-basic.c | |
| parent | d46da6d90be99f91988eececd5368170b0eded1f (diff) | |
replay: die() instead of failing assert()
It's not a good idea for regular Git commands to use an assert() to
check for things that could happen but are not supported.
Let's die() with an explanation of the issue instead.
Co-authored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-basic.c')
0 files changed, 0 insertions, 0 deletions
