I think I found where to calculate the number of blamed lines without
having to do it from scratch every cycle. It's where the list of
sb->ent is getting its nodes pointed.... around here:

for (;;) {
    struct blame_entry *next = ent->next;
    found_guilty_entry(ent);
    if (next) {
        ent = next;
        continue;
    }
    ent->next = sb->ent;
    sb->ent = suspect->suspects;
    suspect->suspects = NULL;
    break;
}

So the function I added to blame.c, it's gone.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to