Skip to content

Add OID filtering to ListRefs RPC

Alishan Ladhani requested to merge ali/filter-list-refs-by-oids into master

Adds a pointing_at_oids field to ListRefsRequest which is passed to git-for-each-ref as the --points-at option. Since annotated tags return their own OID as target, peel_tags/peeled_target fields are added to indicate the target of annotated tags. Note that peel_tags slows down the request by a factor of 3-4.

Related to gitlab#381779 (closed)

Edited by Alishan Ladhani

Merge request reports