]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ref-filter.c
config.mak.uname: resolve FreeBSD iconv-related compilation warning
[thirdparty/git.git] / ref-filter.c
index dba826e71803d44d648ecdcf793bd01e55ecb830..01c1a82075eca737c2e3749e295ca24bbab870b6 100644 (file)
@@ -824,7 +824,7 @@ static int grab_objectname(const char *name, const struct object_id *oid,
                        v->s = xstrdup(find_unique_abbrev(oid, atom->u.objectname.length));
                        return 1;
                } else
-                       die("BUG: unknown %%(objectname) option");
+                       BUG("unknown %%(objectname) option");
        }
        return 0;
 }
@@ -1372,7 +1372,7 @@ static void fill_remote_ref_details(struct used_atom *atom, const char *refname,
                else
                        *s = "";
        } else
-               die("BUG: unhandled RR_* enum");
+               BUG("unhandled RR_* enum");
 }
 
 char *get_head_description(void)