Fix RepositorySearchDialog when browsing different directories

When clicking "Browse" multiple times for different directories
containing repositories the RepositorySearchDialog only displayed the
repositories selected in the last browse step but also added
repositories selected in earlier browse steps. This is surprising as the
latter weren't displayed before finishing the wizard.

Bug: 450213
Change-Id: I6081f933000b6f92c73ac7817d625b0472ca1f2f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix NPE in GitResourceVariantTreeSubscriber.roots()

Bug: 451476
Change-Id: Iaf5e020a2762cb818eece8133b374d0158737465
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
[rebaseView] Prevent SWTException if tree is disposed

Bug: 451754
Change-Id: I41792361688dbad31d0b68021724e0909aa3615e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change feature name of mylyn feature to simplify finding it

If "Group itemy by category" is unchecked in the p2 installation and
update UI this makes it easier to spot the EGit related features since
they will be shown close to each other in this view which is sorted
alphabetically by default.

See: https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11275.html
Change-Id: I9c87f122d199871bb44fab2cc068003fcb613346
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix broken link to squash icon used in commandImages extension

We have a new png squash icon so use it to fix broken link to the old
gif icon which was deleted.

Change-Id: I1b0c626094ac4df1de4a14605dc74a059d7922d1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Extract hover manager of CommitGraphTable into own file

This is a refactoring because the class will have to grow in the next
change.

Change-Id: I04022b27c8beddaa34acdeceb2982c70f8344f1f
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Merge "Fix broken link to squash icon used in commandImages extension"
Merge "Fix NPE in GitResourceVariantTreeSubscriber.roots()"
Merge "[rebaseView] Prevent SWTException if tree is disposed"
Merge "Change feature name of mylyn feature to simplify finding it"
[repoView] Fix ClassCastException on add to index on folder

The following steps lead to a ClassCastException
- select a folder in git repositories view which contains some dirty
  file
- click "Add to index" on this folder in the repositories view

Bug: 447611
Change-Id: Ic902775b12c65177131e7f5d10291bb6a5cd83f8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
[historyView] Fix cancel with Modify > Edit and uncommitted changes

When the user pressed "Cancel" on the uncommitted changes dialog, the
history EditHandler would still open the staging and interactive rebase
views.

Bug: 451817
Change-Id: I349e8a05cfaa4926916159ad6861f22807f5da71
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix missing trailing newline with "Create Patch"

The resulting patches didn't work with "git apply" because the trailing
newline was missing. Adding it makes it work, and it also still works
with Eclipse's "Apply Patch".

Just removing the line with "trim newline" at the end wasn't enough,
because the ByteArrayOutputStream was only overriding one of the write
methods (not the one with just one char). So the last newline was never
added to the StringBuilder. Replace it with a more straightforward
implementation.

Bug: 406134
Change-Id: If736ab3bc5972908a464212a29de8311b32e2718
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix icon representing commit object in "Push Branch..." wizard

The COMMIT icon is for the action, whereas in the dialog we want the
object. In other places, CHANGESET is used for that.

Change-Id: I6137f60c7c33592b7202e2d84388e749bb63e3ca
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Storages should override equals

The use of storages in sets does not work since the equals has not been
overriden.

Change-Id: I25fa8a318bcd28dd8484f1386d7a33e57cffd3fd
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
Delete .eclipse_iplog

We don't use this file anymore since a long time since IP log
generation has been automated at the Eclipse foundation.

Change-Id: Ifcf708f4a22b55ed8146caa73c4822ce1803e2b7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Update Tycho to 0.21

Change-Id: I2232142ee84a4fa75bab08fe3b5fac7a6b66e823
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Merge "Storages should override equals"
Introduce context menu "import changed projects"

The context menu action "import changed projects" analyzes the files of
the commit and is importing the matching projects. This is a handy
feature for very large repositories with lots of projects where it is
impossible to import all projects. Import only the relevant projects
needed for the selected change/commit.

Change-Id: I55aac6258659d61088e9abdafe95f5a4a6a6fe63
Signed-off-by: Tobias Melcher <tobias.melcher@sap.com>
Signed-off-by: Felix Otto <felix.otto@sap.com>
Signed-off-by: Thomas Schulze zur Wiesch <thomas.schulze.zur.wiesch@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix target platform names

The target names of the 4.5 target definitions seem to not have been
adapted when copying the target files from 4.4 initially.

This can be very confusing when using the PDE option to show the target
name in the status bar.

Change-Id: Iaca415419ec091904e894613ed011d29e2967d10
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>