diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-12-07 12:05:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-07 12:31:16 -0800 |
commit | 46d699f492b86d7d9b84ca9c56c837ce80643dc2 (patch) | |
tree | 0fa8662f21e293e7e6b8d8427ec221015da76180 /Documentation/gitfaq.txt | |
parent | pack-objects: use BUG(...) not die("BUG: ...") (diff) | |
download | tgif-46d699f492b86d7d9b84ca9c56c837ce80643dc2.tar.xz |
strbuf.h: use BUG(...) not die("BUG: ...")
In 7141efab248 (strbuf: clarify assertion in strbuf_setlen(),
2011-04-27) this 'die("BUG: "' invocation was added with the rationale
that strbuf.c had existing users doing the same, but those users were
later changed to use BUG() in 033abf97fcb (Replace all die("BUG: ...")
calls by BUG() ones, 2018-05-02). Let's do the same here.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitfaq.txt')
0 files changed, 0 insertions, 0 deletions