Update JGit to recent snapshot

Fix a resulting compile error due to exceptions changing.

Change-Id: I3119eb73e07b5ee489af907c3c6202b900ab5c09
This commit is contained in:
Dave Borowitz
2016-01-21 11:39:26 -05:00
parent 3da50441d9
commit 324fd5f3af
2 changed files with 12 additions and 17 deletions

View File

@@ -168,17 +168,12 @@ public class ChangeInserter extends BatchUpdate.InsertChangeOp {
if (!idList.isEmpty()) {
return new Change.Key(idList.get(idList.size() - 1).trim());
}
try {
ObjectId id = ChangeIdUtil.computeChangeId(commit.getTree(), commit,
commit.getAuthorIdent(), commit.getCommitterIdent(),
commit.getShortMessage());
StringBuilder changeId = new StringBuilder();
changeId.append("I").append(ObjectId.toString(id));
return new Change.Key(changeId.toString());
} catch (IOException e) {
throw new IllegalStateException(e);
}
ObjectId id = ChangeIdUtil.computeChangeId(commit.getTree(), commit,
commit.getAuthorIdent(), commit.getCommitterIdent(),
commit.getShortMessage());
StringBuilder changeId = new StringBuilder();
changeId.append("I").append(ObjectId.toString(id));
return new Change.Key(changeId.toString());
}
public PatchSet.Id getPatchSetId() {