diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-05-19 07:28:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-21 14:07:20 +0900 |
commit | 4e0df4e663412fa29280a0181e335fac96e0f6a5 (patch) | |
tree | 8a717e6180e4598afaf1c2495f968feb435f2511 /builtin | |
parent | commit-slab: support shared commit-slab (diff) | |
download | tgif-4e0df4e663412fa29280a0181e335fac96e0f6a5.tar.xz |
blame: use commit-slab for blame suspects instead of commit->util
It's done so that commit->util can be removed. See more explanation in
the commit that removes commit->util.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/blame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/blame.c b/builtin/blame.c index db38c0b307..969572810d 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -457,7 +457,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; |