Skip to content

git: Apply sub-repo permissions to git.LsFiles

Administrator requested to merge rs/sub-repo-lsfiles into main

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

Loading