Skip to content

filter commits in git.Commits based on sub-repo permissions

Administrator requested to merge mlw-filter-commits-sub-repo-perms into main

Created by: mollylogue

This PR adds sub-repo permissions filtering on the git.Commit function by passing the --name-only flag when running git log to get the list of files modified in each commit along with the rest of the commit information. I decided to put this part up for review before implementing/testing the filtering for the other functions in this package so that I could get a signoff on this approach (or feedback on how to do it better) before moving forward.

https://github.com/sourcegraph/sourcegraph/issues/27498

Merge request reports

Loading