Thanks to visit codestin.com
Credit goes to github.com

Skip to content

support git 2.29's commit-graph path-based Bloom Filters #5758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks
lhchavez opened this issue Jan 4, 2021 · 1 comment
Open
4 tasks

support git 2.29's commit-graph path-based Bloom Filters #5758

lhchavez opened this issue Jan 4, 2021 · 1 comment

Comments

@lhchavez
Copy link
Contributor

lhchavez commented Jan 4, 2021

This depends on #5757

Git 2.29 added an extension for commit-graph files such that they also contain a bloom filter to track modified paths in commits, which can make the implementation of path-based revwalks easier AND faster.

Once some of the changes in #5757 land, this work can start. Some of the tasks involved:

  • Support for reading the changed path bloom filters from existing commit-graph files.
  • Creation of revwalk functions that can filter by paths.
  • Update of the revwalk functions so that they can take advantage of commit-graph metadata.
  • Support for creating/updating commit-graph files with changed path bloom filters.

Relevant documentation:

@sgorilla
Copy link

@lhchavez I see the #5757 issue was not finished, though it seems like it got very close. I am quite interested in this functionality (and especially the fast single file commit lookup by path) for our project. Was there a blocker that made this whole thing non-viable or is it potentially close to being achievable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants