Skip to content
Snippets Groups Projects
Commit cd81b681 authored by Matthias Sohn's avatar Matthias Sohn
Browse files

Merge branch 'stable-6.1' into stable-6.2

* stable-6.1:
  Fix "Comparison of narrow type with wide type in loop condition"
  JGit v5.13.3.202401111512-r

Change-Id: Ib536297ef20a75b36cff8f41d57855913f7d7f26
parents 393571f2 441cb90b
No related branches found
No related tags found
No related merge requests found
...@@ -530,7 +530,7 @@ public PackLock parse(ProgressMonitor receiving, ProgressMonitor resolving) ...@@ -530,7 +530,7 @@ public PackLock parse(ProgressMonitor receiving, ProgressMonitor resolving)
receiving.beginTask(JGitText.get().receivingObjects, receiving.beginTask(JGitText.get().receivingObjects,
(int) expectedObjectCount); (int) expectedObjectCount);
try { try {
for (int done = 0; done < expectedObjectCount; done++) { for (long done = 0; done < expectedObjectCount; done++) {
indexOneObject(); indexOneObject();
receiving.update(1); receiving.update(1);
if (receiving.isCancelled()) if (receiving.isCancelled())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment