String currentFullBranch = getFullBranch(repository);
if (ref != null && ref.getName().equals(currentFullBranch))
ref = null;
if (ref == null) {
RebaseTargetSelectionDialog rebaseTargetSelectionDialog = new RebaseTargetSelectionDialog(
getShell(event), repository);
if (rebaseTargetSelectionDialog.open() == IDialogConstants.OK_ID) {
String refName = rebaseTargetSelectionDialog.getRefName();
try {
ref = repository.getRef(refName);
} catch (IOException e) {
throw new ExecutionException(e.getMessage(), e);
}
interactive = rebaseTargetSelectionDialog.isInteractive();
preserveMerges = rebaseTargetSelectionDialog.isPreserveMerges();
} else
return;
}
jobname = NLS.bind(