void (final boolean wasCanceled) { if (! wasCanceled) { if (! ApplicationManager.getApplication().isUnitTestMode() && (! myDryRun) && (myExceptions.isEmpty()) && (! myAccumulatedFiles.containErrors()) && ((! myAccumulatedFiles.isEmpty()) || (myMergeTarget != null))) { if (myInfo.isUnderProjectRoot()) { showLocalCommit(); } else { showAlienCommit(); } return; } } final Collection<FilePath> files = gatherChangedPaths(); VcsDirtyScopeManager.getInstance(getProject()).filePathsDirty(files, null); prepareAndShowResults(); }