diff options
author | Michael Keppler | 2018-10-03 20:50:41 +0000 |
---|---|---|
committer | Michael Keppler | 2018-10-17 04:53:46 +0000 |
commit | 84ce36b307b8369a0bfc2363a6134391df79a28a (patch) | |
tree | eae98f6168ed239aca436f72cd8a1d8b5e789eaf /org.eclipse.egit.ui/plugin.xml | |
parent | 02174c850d2a8b6ccd8d406ee1e79684e7833cbf (diff) | |
download | egit-84ce36b307b8369a0bfc2363a6134391df79a28a.tar.gz egit-84ce36b307b8369a0bfc2363a6134391df79a28a.tar.xz egit-84ce36b307b8369a0bfc2363a6134391df79a28a.zip |
Enable "show in history" for staged deleted files
For deleted resources, the staging entry contains a path, not a
resource. Therefore Path needs to be supported both in the adapter
registration as well as in the history page input calculation.
Bug: 539723
Change-Id: I4d17462d4ff0fe39693c9cdc16d296004203112d
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.ui/plugin.xml')
-rw-r--r-- | org.eclipse.egit.ui/plugin.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/plugin.xml b/org.eclipse.egit.ui/plugin.xml index 52981b04b7..abb92722da 100644 --- a/org.eclipse.egit.ui/plugin.xml +++ b/org.eclipse.egit.ui/plugin.xml @@ -93,6 +93,13 @@ </adapter> </factory> <factory + adaptableType="org.eclipse.core.runtime.Path" + class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory"> + <adapter + type="org.eclipse.team.ui.history.IHistoryPageSource"> + </adapter> + </factory> + <factory adaptableType="org.eclipse.ui.IWorkingSet" class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory"> <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |