aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-14 08:57:35 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-08-14 08:57:35 +0200
commit6d377df115dc8f9c31b7cdf83e61a75956c74957 (patch)
tree68d77ac5084fe4ef6bf507ad3951a398e07830df /org.eclipse.jgit
parent8862c80cee4ab345ebc2d3db9aa5eb6aed2bd102 (diff)
parent9b73ec4d12d65f3366e7cc5c3533d84d8c442a67 (diff)
downloadjgit-6d377df115dc8f9c31b7cdf83e61a75956c74957.tar.gz
jgit-6d377df115dc8f9c31b7cdf83e61a75956c74957.zip
Merge branch 'stable-5.13' into stable-6.0stable-6.0
* stable-5.13: Fix "Comparison of narrow type with wide type in loop condition" JGit v5.13.3.202401111512-r Change-Id: Ib15aa83972d81986959889dc03e943fe55c78873
Diffstat (limited to 'org.eclipse.jgit')
-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 e43ea0261e..f33095fa69 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())