final RevCommit c3 = geogig.command(CommitOp.class).setMessage("commit for " + idP3).call();
insertAndAdd(lines1);
@SuppressWarnings("unused")
final RevCommit c4 = geogig.command(CommitOp.class).setMessage("commit for " + idL1).call();
Ref branch1 = geogig.command(RefParse.class).setName("branch1").call().get();
MergeReport mergeReport = geogig.command(MergeOp.class)
.addCommit(Suppliers.ofInstance(branch1.getObjectId()))
.setMessage("My merge message.").call();
geogig.command(SquashOp.class).setSince(c3).setUntil(mergeReport.getMergeCommit())
.setMessage("Squashed").call();
ArrayList<RevCommit> log = Lists.newArrayList(geogig.command(LogOp.class)
.setFirstParentOnly(true).call());
assertEquals(2, log.size());
ImmutableList<ObjectId> parents = log.get(0).getParentIds();