Added context actions 'Assume Unchanged' and 'Untrack'
commitfff8b5aff2f5578cb8a85bc236dbedd9c943d465
authorKarsten Thoms <karsten.thoms@itemis.de>
Thu, 3 Aug 2017 15:04:37 +0000 (3 17:04 +0200)
committerKarsten Thoms <karsten.thoms@itemis.de>
Wed, 23 Aug 2017 07:46:34 +0000 (23 03:46 -0400)
tree88839697f86c16c36ab9860d48daa09ac955ff73
parentebd8f363193c9b8de6e9c4deb8d2f396b65d5314
Added context actions 'Assume Unchanged' and 'Untrack'

Modified unstaged changes can be marked as 'Assume Unchanged' or
untracked using a context menu action.

AssumeUnchangedOperation and UntrackOperation are extended by a
constructor that takes a path list. Reason is that it cannot be assumed
that in the StagingView the StagingEntry's are workspace resources. In
this case the selection is a collection of paths of the current selected
repository.

Compact Tree representation and filtered views are also considered.

Bug: 381158
Change-Id: I4eec5d307ae7b1a04ad288b3c3e769218a98a0b5
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
org.eclipse.egit.core/src/org/eclipse/egit/core/op/AssumeUnchangedOperation.java
org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIIcons.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingEntry.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties