[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:
Kirill Likhodedov
2013-12-24 17:13:35 +04:00
parent 76665bee99
commit 56239162fb
@@ -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);