|
|
|
|
|
|
|
|
} else if (!Arrays.equals(packChecksum, idx.packChecksum)) { |
|
|
} else if (!Arrays.equals(packChecksum, idx.packChecksum)) { |
|
|
throw new PackMismatchException(MessageFormat.format( |
|
|
throw new PackMismatchException(MessageFormat.format( |
|
|
JGitText.get().packChecksumMismatch, |
|
|
JGitText.get().packChecksumMismatch, |
|
|
packFile.getPath(), packChecksum, |
|
|
|
|
|
idx.packChecksum)); |
|
|
|
|
|
|
|
|
packFile.getPath(), |
|
|
|
|
|
ObjectId.fromRaw(packChecksum).name(), |
|
|
|
|
|
ObjectId.fromRaw(idx.packChecksum).name())); |
|
|
} |
|
|
} |
|
|
loadedIdx = idx; |
|
|
loadedIdx = idx; |
|
|
} catch (InterruptedIOException e) { |
|
|
} catch (InterruptedIOException e) { |