On Saturday, May 3, 2014 1:04:32 AM UTC+2, Shirish Agarwal wrote:
>
> Hi all, 
> First of all thank you to all the developers, maintainers and 
> community at large who answers queries like this one. Please CC me as 
> I'm not subscribed to this google group. 
>
> I'm on debian testing. I'm using git to pull stuff from repos. My git 
> version is :- 
>
> $ git --version 
> git version 1.9.2 
>
> I'm pulling from a remote repo. And my netspeed tells me it's 
> downloading but my git pull is at a certain percentage. Let me share 
> with an actual attempt :- 
>
> /Frost_and_Flame$ git pull origin master --verbose 
> POST git-upload-pack (935 bytes) 
> remote: Counting objects: 62, done. 
> remote: Compressing objects: 100% (62/62), done. 
> Unpacking objects:  22% (14/62) 
>
> Now as can be seen, it's either stuck or is at 22% and the number will 
> change only when it's 23%. Now is there a way to make it show 
> something something like 22.10% and like that, so I can find in 
> real-time what is happening ? 
>
> The above is important/imperative in use-cases where bandwidth speed 
> is a huge issue or when you are cloning or updating from a large repo. 
> Think for instance, the Linux kernel. 
>
> Looking forward to an answer. If it's not feasible atm , then please 
> let me know where I can ask for this feature. 
>
>
I don't know whether it's feasible, but if this in turn is a feature 
request, you can contact the Git developers 
here: https://gist.github.com/tfnico/4441562

My amateur opinion is that the most granular thing you can do is to count 
how many objects there are left (14/62). If you want to get some sort of 
progress bar on each object being unpacked, you'd have to hack that command 
quite a 
bit: https://www.kernel.org/pub/software/scm/git/docs/git-unpack-objects.html

Otherwise, there are some leads around the google, regarding use of 
smart-HTTP, large files and configuring 
http.postBuffer: 
http://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning/6849424#6849424
 
- not sure if this applies to you.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to