mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: rename & move action to a more proper place
This commit is contained in:
@@ -38,7 +38,7 @@ import git4idea.GitVcs;
|
||||
import git4idea.changes.GitChangeUtils;
|
||||
import git4idea.config.GitExecutableValidator;
|
||||
import git4idea.history.browser.SHAHash;
|
||||
import git4idea.history.wholeTree.SelectRevisionInGitLogAction;
|
||||
import git4idea.log.GitShowCommitInLogAction;
|
||||
import git4idea.repo.GitRepository;
|
||||
import git4idea.repo.GitRepositoryManager;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -69,7 +69,7 @@ public class GitHistoryProvider implements VcsHistoryProviderEx, VcsCacheableHis
|
||||
return new AnAction[] {
|
||||
ShowAllAffectedGenericAction.getInstance(),
|
||||
ActionManager.getInstance().getAction(VcsActions.ACTION_COPY_REVISION_NUMBER),
|
||||
new SelectRevisionInGitLogAction() };
|
||||
new GitShowCommitInLogAction() };
|
||||
}
|
||||
|
||||
public boolean isDateOmittable() {
|
||||
|
||||
+19
-4
@@ -1,4 +1,19 @@
|
||||
package git4idea.history.wholeTree;
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package git4idea.log;
|
||||
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
@@ -31,10 +46,10 @@ import java.util.concurrent.CancellationException;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
public class SelectRevisionInGitLogAction extends DumbAwareAction {
|
||||
private static final Logger LOG = Logger.getInstance(SelectRevisionInGitLogAction.class);
|
||||
public class GitShowCommitInLogAction extends DumbAwareAction {
|
||||
private static final Logger LOG = Logger.getInstance(GitShowCommitInLogAction.class);
|
||||
|
||||
public SelectRevisionInGitLogAction() {
|
||||
public GitShowCommitInLogAction() {
|
||||
super(GitBundle.getString("vcs.history.action.gitlog"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user