Skip to content
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

refdb_fs: enhance performance of globbing #4629

Merged
merged 2 commits into from
May 9, 2018

Commits on Apr 27, 2018

  1. refdb_fs: prepare arbitration of the root used for ref iteration

    Instead of a hardcoded "refs", we may choose a different directory
    within the git directory as the root from which we look for references.
    neithernut committed Apr 27, 2018
    Configuration menu
    Copy the full SHA
    27e98cf View commit details
    Browse the repository at this point in the history
  2. refdb_fs: enable root arbitration for fixed portion of globs

    A glob used for iteration may start with an entire path containing no
    special characters. If we start scanning for references within that path
    rather than in `refs/`, we may end up scanning only a small fraction of
    all references.
    neithernut committed Apr 27, 2018
    Configuration menu
    Copy the full SHA
    20a2b02 View commit details
    Browse the repository at this point in the history