aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-18 18:33:59 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-08-18 18:33:59 +0200
commit9e484a5cc575b470e950151f5be82162fb29d506 (patch)
tree21fcbfec2e09f80fcfd1e8dfa0e890f2e6ace81f
parent92c190d3ef33ffb412ed122d119f27dedb1cffd1 (diff)
parentf9431205c1efcc81349590d5124a2a8bd429c0ad (diff)
downloadjgit-stable-6.4.tar.gz
jgit-stable-6.4.zip
Merge branch 'stable-6.3' into stable-6.4stable-6.4
* stable-6.3: Fix "Comparison of narrow type with wide type in loop condition" JGit v5.13.3.202401111512-r Change-Id: Ia9eefc4004ca01d97ff0c4dae9a6220d48e76b88
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java
index d9669044c7..9bb38bbef4 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java
@@ -530,7 +530,7 @@ public abstract class PackParser {
receiving.beginTask(JGitText.get().receivingObjects,
(int) expectedObjectCount);
try {
- for (int done = 0; done < expectedObjectCount; done++) {
+ for (long done = 0; done < expectedObjectCount; done++) {
indexOneObject();
receiving.update(1);
if (receiving.isCancelled())