aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-14 09:24:40 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-08-14 09:24:40 +0200
commit441cb90bb3d3bf95ed0807bc77d804f895a9465b (patch)
tree7a57f9276049edbb8ccf786e93f03db77cb0abf3 /org.eclipse.jgit/src/org/eclipse/jgit
parent8782bf3084380b722d07d5a56ec75f3081e33d63 (diff)
parent6d377df115dc8f9c31b7cdf83e61a75956c74957 (diff)
downloadjgit-441cb90bb3d3bf95ed0807bc77d804f895a9465b.tar.gz
jgit-441cb90bb3d3bf95ed0807bc77d804f895a9465b.zip
Merge branch 'stable-6.0' into stable-6.1stable-6.1
* stable-6.0: Fix "Comparison of narrow type with wide type in loop condition" JGit v5.13.3.202401111512-r Change-Id: I23afe07585ff17ad8486cbe2c667f6acbe912542
Diffstat (limited to 'org.eclipse.jgit/src/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())