Use TreeEntry and FindCommit RPCs for polling Gitaly
As discussed here !77 (comment 409426957), implement a new rpc in Gitaly for very efficient polling.
Turns out there are already RPCs that allow to poll efficiently:
-
TreeEntry
can be used to get the commit id for a single file/directory. -
FindCommit
can be used to get the commit id for a ref.
Proposal
Use the above RPCs to poll Gitaly.
Edited by Mikhail Mazurskiy