This MR aims to solve the issue #4364 by adding --use-mailmap flag to git cat-file --batch processes in gitaly.
--use-mailmap
git cat-file --batch