* stable-5.2: Prepare 5.1.16-SNAPSHOT builds JGit v5.1.15.202012011955-r Fix PackInvalidException when fetch and repack run concurrently Change-Id: If1d8034b5e0cbc004a11a31b228cb5732efb390d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v5.3.9.202012012026-r
@@ -684,6 +684,7 @@ public class PackFile implements Iterable<PackIndex.MutableEntry> { | |||
private void doOpen() throws IOException { | |||
if (invalid) { | |||
openFail(true, invalidatingCause); | |||
throw new PackInvalidException(packFile, invalidatingCause); | |||
} | |||
try { |