I'm not sure how this can be done, since the -progress option is implemented in upload-pack.c
And git upload-pack mentions
git fetch-pack is called, finds out which objects are missing on the other side, and sends them after packing.
This command is usually not called directly by the end user .
The user interface for the protocol is on the git fetch-pack side, and a couple of programs are designed to download updates from a remote repository .
For push operations, see git send-pack.
So, if the server does not send such data back, I donโt know how to extract it directly, except that you subtract this comment in upload-pack.c
/* We read from pack_objects.err to capture stderr output for * progress bar, and pack_objects.out to capture the pack data. */
If you have server-side access to pack_objects.err , you may (possibly) be able to get information about this.
source share