checkParameter(refSpec.size() < 3, "Commit list is too long :" + refSpec);
GeoGIG geogig = cli.getGeogig();
CreateOSMChangesetOp op = geogig.command(CreateOSMChangesetOp.class);
String oldVersion = resolveOldVersion();
String newVersion = resolveNewVersion();
op.setOldVersion(oldVersion).setNewVersion(newVersion).setId(id);
Iterator<ChangeContainer> entries;
entries = op.setProgressListener(cli.getProgressListener()).call();
if (!entries.hasNext()) {
cli.getConsole().println("No differences found");
return;
}