Enable Gitaly ref name caching for discussions.json
This eliminates many potential duplicate FindCommit
RPCs for the same
ref, which often occurs in the RelativeLinkFilter#current_commit
call.
On the GitLab 12.0 release post, for example, this would save close to
400 RPC calls.
Edited by Stan Hu