aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2020-12-02 15:25:44 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2020-12-02 15:26:00 +0100
commitf621c31f4ca35a440535bf9e98382eae8a1f4643 (patch)
tree6fca36129fb917d29f0fdcce6c0c1bfc235bcb8e
parent0248c58b489bc7d8a769ca1da9bb8e172ecd5dbd (diff)
parentc9d871f15d4daa4ab959b34d2a0759016e415643 (diff)
downloadjgit-f621c31f4ca35a440535bf9e98382eae8a1f4643.tar.gz
jgit-f621c31f4ca35a440535bf9e98382eae8a1f4643.zip
Merge branch 'stable-5.6' into stable-5.7
* stable-5.6: Prepare 5.3.10-SNAPSHOT builds JGit v5.3.9.202012012026-r Prepare 5.1.16-SNAPSHOT builds JGit v5.1.15.202012011955-r Fix PackInvalidException when fetch and repack run concurrently Change-Id: If5f001c414e677bb2bac59714421f0191b23ea1f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java
index 254c020237..e112fe7444 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java
@@ -650,6 +650,7 @@ public class PackFile implements Iterable<PackIndex.MutableEntry> {
private void doOpen() throws IOException {
if (invalid) {
+ openFail(true, invalidatingCause);
throw new PackInvalidException(packFile, invalidatingCause);
}
try {