Fix catfile N+1 in ListLastCommitsForTree
Fixes #1665 (closed)
There is still a pretty bad N+1 in ListLastCommitsForTree because we spawn a separate git log
process for every entry (file/directory) in the tree. But now we at least don't also spawn a git cat-file
for each entry.
Edited by GitLab Release Tools Bot