X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pack-bitmap-write.c;h=7b2dc3e7dc768a2d2405a9ae3b1d13f86069a93d;hb=6aba117d5cf7128e7bc942888263552fe927e13f;hp=72d9daec7e62bb924940c4e20763effaa347ea5c;hpb=fda537adbaee0bc7423c734c9c662f9f6641c5c4;p=thirdparty%2Fgit.git diff --git a/pack-bitmap-write.c b/pack-bitmap-write.c index 72d9daec7e..7b2dc3e7dc 100644 --- a/pack-bitmap-write.c +++ b/pack-bitmap-write.c @@ -477,7 +477,7 @@ static void write_selected_commits_v1(struct hashfile *f, sha1_pos(stored->commit->object.oid.hash, index, index_nr, sha1_access); if (commit_pos < 0) - die("BUG: trying to write commit not in index"); + BUG("trying to write commit not in index"); hashwrite_be32(f, commit_pos); hashwrite_u8(f, stored->xor_offset);