Skip to content
Snippets Groups Projects

git: Apply sub-repo permissions to git.LsFiles

Created by: ryanslade

We apply filtering after fetching the list of files.

This is the first PR where we actually use the sub-repo client and in order to be pragmatic we've chosen to initialise a global client in main so that we can share cache across all calls.

This PR is intended as an example of how we can use the client to filter git backed data.

Closes https://github.com/sourcegraph/sourcegraph/issues/28263

Merge request reports

Approval is optional

Merged by avatar (Nov 18, 2025 12:33am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading