How can I retrieve the total number of git objects in a repository? (I search something like the git count-objects
in JGit.)
I made a Java program that calculates statistic values and has to read every object (blob, tree, commit, tag) of a git repository. Something like a progress bar should show the user how many objects already have been processed. So I need the total number of git objects.