Git progress watch while pulling / fetching
Here is my problem:
When I’m doing pull/fetch of some big repository i want to show progress somewhere else than in console (for example on website)
I know that in git 220.127.116.11 there is option –progress but I can’t use this version and must stay with 18.104.22.168
does anybody have idea how to watch git fetch/pull progress (for example how to extract current percent of download)
One Solution collect form web for “Git progress watch while pulling / fetching”
I am not sure how this could be done, since the –progress option has been implemented in
git upload-pack mentions
git fetch-pack, learns what objects the other side is missing, and sends them after packing.
This command is usually not invoked directly by the end user.
The UI for the protocol is on the
git fetch-packside, and the program pair is meant to be used to pull updates from a remote repository.
For push operations, see git send-pack.
So if the server doesn’t send back this kind of data, I don’t know how to extract it directly, except by checking out this comment in
/* 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 access to
pack_objects.err on the server side, you might be able (maybe) to get some informations from that.