W dniu 2016-07-05 o 13:23, Johannes Schindelin pisze: > diff --git a/builtin/ls-files.c b/builtin/ls-files.c > index f02e3d2..00ea91a 100644 > --- a/builtin/ls-files.c > +++ b/builtin/ls-files.c > @@ -118,7 +118,8 @@ static void show_killed_files(struct dir_struct *dir) > */ > pos = cache_name_pos(ent->name, ent->len); > if (0 <= pos) > - die("bug in show-killed-files"); > + die("BUG: killed-file %.*s not found", > + ent->len, ent->name); > pos = -pos - 1; > while (pos < active_nr && > ce_stage(active_cache[pos])) This has an additional improvement (not mentioned in the commit message, but probably not worth it) in that it shows which file was not found, not only that there was some bug, isn't it? -- Jakub Narębski -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html