]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tree-diff.c
pathspec: use BUG(...) not die("BUG:%s:%d....", <file>, <line>)
[thirdparty/git.git] / tree-diff.c
index 437c98a70e47ebc89d258e281f16207b9dfa990d..69031d7cbae6a88c1fca3242e974d9cd435a4c78 100644 (file)
@@ -603,8 +603,7 @@ static void try_to_follow_renames(const struct object_id *old_oid,
         * about dry-run mode and returns wildcard info.
         */
        if (opt->pathspec.has_wildcard)
-               die("BUG:%s:%d: wildcards are not supported",
-                   __FILE__, __LINE__);
+               BUG("wildcards are not supported");
 #endif
 
        /* Remove the file creation entry from the diff queue, and remember it */