} else if (srcRev.equals(GitFileRevision.INDEX)) {
// Even git tree compare cannot handle index as source...
// Synchronize using the local data for now.
final ResourceMapping[] mappings = allMappings
.toArray(new ResourceMapping[allMappings.size()]);
final GitSynchronizeData data = new GitSynchronizeData(repository,
srcRev, dstRev, true, includedResources);
launch(new GitSynchronizeDataSet(data), mappings);
} else {
final ResourceMapping[] mappings = allMappings
.toArray(new ResourceMapping[allMappings.size()]);
final GitSynchronizeData data = new GitSynchronizeData(repository,
srcRev, dstRev, includeLocal, includedResources);
launch(new GitSynchronizeDataSet(data), mappings);
}
}