Replace all die("BUG: ...") calls by BUG() ones
[gitweb.git] / builtin / commit.c
index 5571d4a3e2be5ee8a71b7d5dba72b782c848f15e..7b47d1b7fb31d002530799193e4844539f21be7e 100644 (file)
@@ -495,7 +495,7 @@ static int is_a_merge(const struct commit *current_head)
 static void assert_split_ident(struct ident_split *id, const struct strbuf *buf)
 {
        if (split_ident_line(id, buf->buf, buf->len) || !id->date_begin)
-               die("BUG: unable to parse our own ident: %s", buf->buf);
+               BUG("unable to parse our own ident: %s", buf->buf);
 }
 
 static void export_one(const char *var, const char *s, const char *e, int hack)