private ObjectId insertProposals(Repository git, ProposedTimestamp ts) throws IOException, NoOp { ObjectId id; try (ObjectInserter inserter = git.newObjectInserter()) { // TODO(sop) Process signed push certificates. if (queuedTree != null) { id = insertSingleProposal(git, ts, inserter); } else { id = insertMultiProposal(git, ts, inserter); } stageCommands = makeStageList(git, inserter); inserter.flush(); } return id; }
private ObjectId insertProposals(Repository git) throws IOException, NoOp { ObjectId id; try (ObjectInserter inserter = git.newObjectInserter()) { // TODO(sop) Process signed push certificates. if (queuedTree != null) { id = insertSingleProposal(git, inserter); } else { id = insertMultiProposal(git, inserter); } stageCommands = makeStageList(git, inserter); inserter.flush(); } return id; }
private ObjectId insertProposals(Repository git, ProposedTimestamp ts) throws IOException, NoOp { ObjectId id; try (ObjectInserter inserter = git.newObjectInserter()) { // TODO(sop) Process signed push certificates. if (queuedTree != null) { id = insertSingleProposal(git, ts, inserter); } else { id = insertMultiProposal(git, ts, inserter); } stageCommands = makeStageList(git, inserter); inserter.flush(); } return id; }