GitPython: Progress not showing up before the last second

I’ve implemented the Progress class to implement a nice progress bar:

I’m then using it, for example here:

And then, when I clone a very large repository (like mozilla’s gecko):

% git hub clone mozilla/gecko-dev
Pulling from github |████████████████████████████████|
Successfully cloned `https://github.com/guyzmo/git-repo` into `./git-repo`!

the progress bar is “progressing” (i.e. incrementing from 0 to 100%), but it shows up only at the very end of the fetching, after hanging for a long while. I started to debug it, and it looks like it’s related to subprocess stuff.

Though, I might be implementing it wrong, which is why I’m asking here while I’m still debugging that issue.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 35 (34 by maintainers)

Commits related to this issue

Most upvoted comments