commitGraphChunkRepeated=commit-graph chunk id 0x{0} appears multiple times
commitGraphChunkUnknown=unknown commit-graph chunk: 0x{0}
commitGraphFileIsTooLargeForJgit=commit-graph file is too large for jgit
+commitGraphUnexpectedSize=Commit-graph: expected %d bytes but out has %d bytes
commitGraphWritingCancelled=commit-graph writing was canceled
commitMessageNotSpecified=commit message not specified
commitOnRepoWithoutHEADCurrentlyNotSupported=Commit on repo without HEAD currently not supported
/***/ public String commitGraphChunkRepeated;
/***/ public String commitGraphChunkUnknown;
/***/ public String commitGraphFileIsTooLargeForJgit;
+ /***/ public String commitGraphUnexpectedSize;
/***/ public String commitGraphWritingCancelled;
/***/ public String commitMessageNotSpecified;
/***/ public String commitOnRepoWithoutHEADCurrentlyNotSupported;
writeCheckSum(out);
if (expectedSize != out.length()) {
throw new IllegalStateException(String.format(
- "Commit-graph: expected %d bytes but out has %d bytes", //$NON-NLS-1$
- expectedSize, out.length()));
+ JGitText.get().commitGraphUnexpectedSize,
+ Long.valueOf(expectedSize),
+ Long.valueOf(out.length())));
}
} catch (InterruptedIOException e) {
throw new IOException(JGitText.get().commitGraphWritingCancelled,