Enable Gitaly FindCommit caching for TreeController

Accessing /namespace/project/tree/master appears to query FindCommit 5 times with identical parameters. This reduces the number of FindCommit queries to 1.

Merge request reports

Loading