Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some progress output is hidden when cloning with go-git (as compared to git) #1089

Open
mafredri opened this issue May 6, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mafredri
Copy link

mafredri commented May 6, 2024

I've noticed that the go-git progress output sometimes stalls for a very long time, when I compared this to git I noticed that certain moments aren't depicted in the output at all.

For comparison, please view the following asciinema's (3x speed). First go-git:

asciicast

Second git:

asciicast

Key differences:

  • go-git only shows "Compressing objects", not "Receiving objects"
  • go-git stays silent after "Compressing objects" whereas git shows "Resolving deltas"
  • go-git and git output "Total" at different stages and with different values

Is there some limitation in go-git that makes it impossible to follow git output more closely? Or perhaps some design decisions that prevent it? And lastly, is this something you are interested in improving or receiving contributions for?

@pjbgf pjbgf added good first issue Good for newcomers help wanted Extra attention is needed labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants