commit-graph: compute Bloom filters for changed paths
authorGarima Singh <garima.singh@microsoft.com>
Mon, 30 Mar 2020 00:31:28 +0000 (00:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2020 16:59:53 +0000 (09:59 -0700)
commitf97b9325f6d7ad2a28bfaf6fab3197d207fcb278
tree54b77d41e45aa67f13124aa2062c9b70f89bf927
parente3696980163bdbd3bc56e5ffc69e8770015f366f
commit-graph: compute Bloom filters for changed paths

Add new COMMIT_GRAPH_WRITE_CHANGED_PATHS flag that makes Git compute
Bloom filters for the paths that changed between a commit and it's
first parent, for each commit in the commit-graph.  This computation
is done on a commit-by-commit basis.

We will write these Bloom filters to the commit-graph file, to store
this data on disk, in the next change in this series.

Helped-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Garima Singh <garima.singh@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c
commit-graph.h