mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs] IDEA-95729 Don't ask about adding new files from patch to VCS
If a file is ADDED in a patch or a shelf or revert from a VCS commits, there is no sense in asking if user wants the file to be added: of course he does. Anyway, keeping the option: maybe users will give some feedback for the reverse case.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ public class TriggerAdditionOrDeletion {
|
||||
|
||||
public TriggerAdditionOrDeletion(final Project project, boolean silentAddDelete) {
|
||||
myProject = project;
|
||||
mySilentAddDelete = silentAddDelete;
|
||||
mySilentAddDelete = true; // TODO there is no sense in making add/remove non-silent anywhen; wait for users feedback, then remove
|
||||
myExisting = new HashSet<FilePath>();
|
||||
myDeleted = new HashSet<FilePath>();
|
||||
myVcsManager = ProjectLevelVcsManager.getInstance(myProject);
|
||||
|
||||
Reference in New Issue
Block a user