commit-graph: use string-list API for input
[gitweb.git] / builtin / blame.c
index 3295718841aab1051ee8bdde0b1fc0aa26ae5f00..5a0388aaef580e8d3592e1b5b767618fe638ca0b 100644 (file)
@@ -543,7 +543,7 @@ static void output(struct blame_scoreboard *sb, int option)
                        struct commit *commit = ent->suspect->commit;
                        if (commit->object.flags & MORE_THAN_ONE_PATH)
                                continue;
-                       for (suspect = commit->util; suspect; suspect = suspect->next) {
+                       for (suspect = get_blame_suspects(commit); suspect; suspect = suspect->next) {
                                if (suspect->guilty && count++) {
                                        commit->object.flags |= MORE_THAN_ONE_PATH;
                                        break;