diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-09-04 14:49:55 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-04 16:16:21 -0700 |
| commit | d5a6f505e65444bafeae6d86568c589c3be8797b (patch) | |
| tree | d50cb488bc07c67277bc86e6b1fbd670189e6922 | |
| parent | The sixth batch (diff) | |
| download | git-d5a6f505e65444bafeae6d86568c589c3be8797b.tar.gz git-d5a6f505e65444bafeae6d86568c589c3be8797b.zip | |
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>
| -rw-r--r-- | blame.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -2909,9 +2909,6 @@ void setup_blame_bloom_data(struct blame_scoreboard *sb) struct blame_bloom_data *bd; struct bloom_filter_settings *bs; - if (!sb->repo->objects->commit_graph) - return; - bs = get_bloom_filter_settings(sb->repo); if (!bs) return; |
