Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Nov 8, 2024

Libgit2's "Resolving Deltas" code is extremely slow (libgit2/libgit2#4674) on larger repositories, so it is important to have an accurate progress bar to avoid users thinking the download is stuck. We had this implemented. However, we were never actually switching to it, because the progress meter thought the progress was jumping backwards and wouldn't actually update because of it. Fix that by resetting it on the first switch to resolving deltas.

Libgit2's "Resolving Deltas" code is extremely slow (libgit2/libgit2#4674) on
larger repositories, so it is important to have an accurate progress bar to avoid users thinking
the download is stuck. We had this implemented. However, we were never actually switching to it,
because the progress meter thought the progress was jumping backwards and wouldn't actually update
because of it. Fix that by resetting it on the first switch to resolving deltas.
@KristofferC
Copy link
Member

I have been wondering why I never saw this... I thought it was just too fast I think 😆

@IanButterworth
Copy link
Member

Merge?

@KristofferC KristofferC merged commit 87a4a91 into master Nov 15, 2024
7 checks passed
@KristofferC KristofferC deleted the kf/resolvingdeltasprogress branch November 15, 2024 15:07
IanButterworth pushed a commit that referenced this pull request Nov 24, 2024
Libgit2's "Resolving Deltas" code is extremely slow (libgit2/libgit2#4674) on
larger repositories, so it is important to have an accurate progress bar to avoid users thinking
the download is stuck. We had this implemented. However, we were never actually switching to it,
because the progress meter thought the progress was jumping backwards and wouldn't actually update
because of it. Fix that by resetting it on the first switch to resolving deltas.

(cherry picked from commit 87a4a91)
KristofferC pushed a commit that referenced this pull request Dec 13, 2024
Libgit2's "Resolving Deltas" code is extremely slow (libgit2/libgit2#4674) on
larger repositories, so it is important to have an accurate progress bar to avoid users thinking
the download is stuck. We had this implemented. However, we were never actually switching to it,
because the progress meter thought the progress was jumping backwards and wouldn't actually update
because of it. Fix that by resetting it on the first switch to resolving deltas.

(cherry picked from commit 87a4a91)
@KristofferC KristofferC mentioned this pull request Dec 13, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants