]> Kevux Git Server - rit/commit
blame: drop explicit check for commit graph
authorPatrick Steinhardt <ps@pks.im>
Thu, 4 Sep 2025 12:49:55 +0000 (14:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Sep 2025 23:16:21 +0000 (16:16 -0700)
commitd5a6f505e65444bafeae6d86568c589c3be8797b
treed50cb488bc07c67277bc86e6b1fbd670189e6922
parent2462961280690837670d997bde64bd4ebf8ae66d
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>
blame.c