bloom: ignore renames when computing changed paths
commitcaf388caa101be90b7ec43d7f78ca4e935fc0150
authorDerrick Stolee <dstolee@microsoft.com>
Thu, 9 Apr 2020 13:00:11 +0000 (9 13:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2020 18:04:35 +0000 (9 11:04 -0700)
treeddb2c2a65d6994420c076140600c568a7740429b
parentd5b873c832d832e44523d1d2a9d29afe2b84c84f
bloom: ignore renames when computing changed paths

The changed-path Bloom filters record an entry in the filter for
every path that was changed. This includes every add and delete,
regardless of whether a rename was detected. Detecting renames
causes significant performance issues, but also will trigger
downloading missing blobs in partial clone.

The simple fix is to disable rename detection when computing a
changed-path Bloom filter. This should already be disabled by
default, but it is good to explicitly enforce the intended
behavior.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bloom.c