repository: Use git-cat-file to calculate repository size
Use git-cat-file to list all objects and accumulate the sizes in order to get a number of the total size of a repository.
fixes: gitlab#368150 (closed)
Edited by John Cai
Use git-cat-file to list all objects and accumulate the sizes in order to get a number of the total size of a repository.
fixes: gitlab#368150 (closed)