Merge branch 'sg/t7406-chain-fix'
[gitweb.git] / builtin / ls-files.c
index 40d9138c467181f0164415dcf02ef22ee6b60910..88bb2019ad7a52a13373d4c88b127915b219e4a5 100644 (file)
@@ -166,7 +166,7 @@ static void show_killed_files(const struct index_state *istate,
                                 */
                                pos = index_name_pos(istate, ent->name, ent->len);
                                if (0 <= pos)
-                                       die("BUG: killed-file %.*s not found",
+                                       BUG("killed-file %.*s not found",
                                                ent->len, ent->name);
                                pos = -pos - 1;
                                while (pos < istate->cache_nr &&