Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EGit/New and Noteworthy/1.1
Contents
- 1 New Features
- 1.1 New Reflog View
- 1.2 Allow dragging of commits from History view
- 1.3 New preference to ignore whitespace changes in blame annotations
- 1.4 History View always displays HEAD and other additional refs
- 1.5 More information displayed in merge, fetch and push results dialogs
- 1.6 Commit Dialog Improvements
- 1.7 Staging View
- 1.8 New Features in Synchronize View
- 1.9 Team Project Set Support
- 1.10 Logical Model Support
- 1.11 Navigating from tasks to commits
- 2 New Actions
- 3 GitHub Mylyn Connector
- 4 Commits
New Features
New Reflog View
- Shows the Git reflog for a selected repository
- Supports showing the reflog for a specific branch by selecting the hyperlink ref name in the top right of the view
- Supports searching and filtering
- Double-clicking a reflog entry opens the corresponding To commit
Allow dragging of commits from History view
You're now able to Drag and drop commits either onto a Mylyn Task or into a folder on your harddisk. In both cases, EGit will automatically create a patch for you to attach it on the bug or to create a patchfile on your harddisk.
New preference to ignore whitespace changes in blame annotations
History View always displays HEAD and other additional refs
More information displayed in merge, fetch and push results dialogs
- Commits and modified files displayed in fetch, push, and pull and push result dialogs
- Commit details such as author and date are now displayed for merge results
- Icons displayed for different ref update types (new tag, new branch, etc.)
- Push result messages now support hyperlinks
Commit Dialog Improvements
- Support for commit ID hyperlinks
- Content assist for file names shown in Files section
Staging View
- New column layout preference that supports showing the Unstaged Changes and Staged Changes sections side by side
- New preference for showing the file names first followed by the directory that the files are located in
New Features in Synchronize View
- Synchronize filtered on folder
- drag and drop staging / unstaging in Git Changeset Model (demonstration on youtube)
- new "Fetch Changes" checkbox in synchronize wizard
- Performance improvements
- "Synchronize Wizard" allow select additional refs like FETCH_HEAD
- "Synchronize With..." menu item moved into "Advanced" section
Team Project Set Support
It's now possible to export and import Git projects with team project set files (.psf). This enables easier workspace setup, especially with many repositories and/or with different branches. How it works:
- Select the projects you want to export
- Right click on the selection and chose Export
- Select Team Project Set
- Fill in the details such as where the .psf file should be saved and finish the wizard
This creates a file with all the information that is necessary for Eclipse to reconstruct the project setup. It contains the URLs of the Git repositories, the branch to checkout, and the paths to the projects. Creating a new workspace is as easy as:
- Go to File -> Import
- Select Team Project Set
- Select the .psf file
Eclipse will clone the repositories into the workspace location, check out the right branches and import the projects, ready for creating new commits and pushing.
Logical Model Support
In case you're working with files that are supported by a Logical Model Provider (eg. EMF Compare for .ecore, or other commercial modeling tools), EGit now detects these cases during staging, replacing and commiting changes and will help you to choose the right set of files to work on.
For some background information on Logical Models, see this blog post: What the heck are Logical Models
With the Mylyn/EGit bridge installed, you're now able to see commit ids in tasks (eg. Bugzilla) hyperlinked. Once clicked, the corresponding commit will open up in the Commit Editor.
New Actions
- Staging View
- unstaged pane: "Add to Git Index", "Replace with File in Git Index", "Open Working Tree Version"
- staged pane: "Open Working Tree Version", "Remove from Git Index"
- Double-click opening of commits in push result table
- Synchronize View
- "Mark as Merged"
- "Open Merge Tool"
- "Open Properties > Git" on Eclipse project now displays link to current HEAD
- Repositories View
- "Show In > Reflog" on repository nodes
- Enable "Synchronize with Each Other" when two ref or tag nodes are selected
GitHub Mylyn Connector
Pull Request Support
- Pull Requests can now be added as a Mylyn Task Repository type
- The Pull Request task editor displays the commits and supports opening commits in the EGit commit viewer
Import and Clone
- Projects can now be cloned using the new Import > Git > Repositories from GitHub wizard
- Projects cloned will appear in the Git Repositories view once the clone has completed
GitHub Java API
- The GitHub Java API now supports the entire GitHub v3 API
- The README is available here
- Rendered version available here