mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-189369 vcs: do not include file to commit on destroying empty tracker
This commit is contained in:
+7
-5
@@ -532,11 +532,13 @@ public class MultipleLocalChangeListsBrowser extends CommitDialogChangesBrowser
|
||||
myTrackerExclusionStates.remove(change);
|
||||
|
||||
ExclusionState exclusionState = ((PartialLocalLineStatusTracker)tracker).getExcludedFromCommitState(myChangeList.getId());
|
||||
if (exclusionState != ExclusionState.ALL_EXCLUDED) {
|
||||
myIncludedChanges.add(change);
|
||||
}
|
||||
else {
|
||||
myIncludedChanges.remove(change);
|
||||
if (exclusionState != ExclusionState.NO_CHANGES) {
|
||||
if (exclusionState != ExclusionState.ALL_EXCLUDED) {
|
||||
myIncludedChanges.add(change);
|
||||
}
|
||||
else {
|
||||
myIncludedChanges.remove(change);
|
||||
}
|
||||
}
|
||||
|
||||
scheduleExclusionStatesUpdate();
|
||||
|
||||
Reference in New Issue
Block a user