mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GitVcs.activate() don't show executable validator dialog in tests
This commit is contained in:
@@ -346,8 +346,12 @@ public class GitVcs extends AbstractVcs<CommittedChangeList> {
|
||||
protected void activate() {
|
||||
isActivated = true;
|
||||
myExecutableValidator = new GitExecutableValidator(myProject);
|
||||
myExecutableValidator.checkExecutableAndShowDialogIfNeeded();
|
||||
checkVersion();
|
||||
|
||||
if (!ApplicationManager.getApplication().isHeadlessEnvironment()) {
|
||||
myExecutableValidator.checkExecutableAndShowDialogIfNeeded();
|
||||
checkVersion();
|
||||
}
|
||||
|
||||
if (!myProject.isDefault() && myRootTracker == null) {
|
||||
myRootTracker = new GitRootTracker(this, myProject, myRootListeners.getMulticaster());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user