Replace all die("BUG: ...") calls by BUG() ones
[gitweb.git] / bulk-checkin.c
index de1f4040c788f683a0cca3695c10b163811dd945..f8a549dd7a41b3421ebd25b4e0a5bf247d69b28e 100644 (file)
@@ -230,7 +230,7 @@ static int deflate_to_pack(struct bulk_checkin_state *state,
                 * pack, and write into it.
                 */
                if (!idx)
-                       die("BUG: should not happen");
+                       BUG("should not happen");
                hashfile_truncate(state->f, &checkpoint);
                state->offset = checkpoint.offset;
                finish_bulk_checkin(state);