gqlbackend: align sub-repo perms filtering implementations
Created by: bobheadxi
The two implementations (#27138 (closed) , #27139 (closed) ) are very similar, but had some discrepancies. This uses the same approach to in-place filtering on both, and adds tracing to the git tree api implementation.