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

Use gitoxide for list_files_git #13592

Merged
merged 11 commits into from
Mar 24, 2024
Merged

Commits on Mar 18, 2024

  1. upgrade gix to v0.60

    It contains the feature required to get a directory traversal.
    Byron committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    a989423 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9115545 View commit details
    Browse the repository at this point in the history
  3. assure repositories are always walked into to avoid .git folders.

    With a traditional walk, `.git` will be picked up, and so will be
    ignored directories. This commit also doesn't give submodules special
    treatment - instead it just tries to open directories as repositories,
    or walks them if that fails.
    Byron committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    a710d45 View commit details
    Browse the repository at this point in the history
  4. Assure the extra-logic in dirwalks applies to index files as well

    This is the case for the git2 implementation naturally, but as
    `gitoxide` doesn't yet have a dirwalk iterator, it's much
    less intuitive here.
    Byron committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    5312586 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9bf9149 View commit details
    Browse the repository at this point in the history
  6. address PR review (see details)

    * remove renovate group as it's not needed anymore
    * repository discovery will open with isolation
    Byron committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    363d2da View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    acef084 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    8375cf4 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Don't call .ok() before unwrap_or()

    It's not necessary, and adds noise.
    Byron committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ac68aa1 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Simplify pathspec generation in list_files_gix

    Co-authored-by: Arlo Siemsen <arkixml@gmail.com>
    Byron and arlosi committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    dbf1b6a View commit details
    Browse the repository at this point in the history
  2. Assure top-level refspecs and tailing '/' for target prefix

    Top-level pathspecs are needed to assure they are not affected by
    the CWD. The trailing `/` in `'target` is needed to assure excluded
    items are in a folder, and that only entries in that folder are extracted
    from the index.
    Byron committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    9178160 View commit details
    Browse the repository at this point in the history