handle sub-repo permissions filtering in git.DiffPath
Created by: mollylogue
- Add sub-repo permissions filtering to
git.DiffPath
- Add tests for
git.DiffPath
NOTE: should be merged after https://github.com/sourcegraph/sourcegraph/pull/29213 Closes https://github.com/sourcegraph/sourcegraph/issues/28912