Git fork

blame: drop explicit check for commit graph

Our blaming subsystem knows to use bloom filters from commit graphs to
speed up the whole computation. The setup of this happens in
`setup_blame_bloom_data()`, where we first verify that we even have a
commit graph in the first place. This check is redundant though, as we
call `get_bloom_filter_settings()` immediately afterwards which, which
already knows to return a `NULL` pointer in case we don't have a commit
graph.

Drop the redundant check.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Patrick Steinhardt and committed by
Junio C Hamano
d5a6f505 24629612

-3
-3
blame.c
··· 2909 2909 struct blame_bloom_data *bd; 2910 2910 struct bloom_filter_settings *bs; 2911 2911 2912 - if (!sb->repo->objects->commit_graph) 2913 - return; 2914 - 2915 2912 bs = get_bloom_filter_settings(sb->repo); 2916 2913 if (!bs) 2917 2914 return;