Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

EGit/New and Noteworthy/5.4

< EGit‎ | New and Noteworthy
Revision as of 22:20, 29 November 2023 by Unnamed Poltroon (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


SSH Library

EGit 5.4.0 can now handle encrypted new-style OpenSSH private keys, for instance password-protected ed25519 keys, when the "Apache MINA sshd" SSH client is used. (There's a preference setting in the main EGit preference page under Preferences→Team→Git to choose between "Apache MINA sshd" (default) and the older "JSch" library.)

On Java versions older than 8u161, you may need to download and install the "JCE Unlimited Strength Jurisdiction Policy Files" for this to work. OpenSSH uses the AES encryption with 256bit keys, which is available in older Java only with this extension. On newer Java versions, "unlimited strength" encryption is enabled by default, so you need not do anything.

We plan to remove the old JSch SSH implementation completely in a future release of EGit.

Filtering Content from the Git Repositories View

The Git Repositories view can now be configured to show less nodes.

Screenshot showing the "Filters and Customization..." entry in the view menu of the Git Repositories view

In the view menu of the Git Repositories view, choose the "Filters and Customization..." entry. This will open a dialog where you can choose which information should be suppressed:

Screenshot of the "Filters and Customization" dialog of the Git Repositories view

Checked node types will not be shown in the Git Repositories view. Note that the top repositories nodes and the local branches node cannot be hidden.

Checking out Files from a Commit

In the Git History view there is a new command in the context menu on the file list to check out the selected file versions from that commit. This can be useful to revert individual files to an earlier state, or to a state on another branch.

Screenshot of the Git History view showing the new check-out command.

This command is also available in the Commit Viewer (also for stashes), and in the outline view of the Commit Viewer's unified diff page. The check-out skips files deleted in that commit and submodules contained in the selection. If the check-out would overwrite uncommitted changes, such as when a file to be checked out is modified in the workspace, the user is asked to confirm overwriting.

Showing Whitespace Characters in the Diff in the History View

The diff viewer in the Git History view can now show whitespace characters:

Screenshot of the Git History view with the context menu on the diff viewer visible and showing whitespace characters in the diff viewer.

The diff viewer is located in the bottom-left part of the view, below the commit message. When files changed in a commit are selected in the file list bottom-right, the diff viewer shows a unified diff of the changes made to those files in that commit. (For performance reasons, the diff is truncated after 10'000 lines; to see a full unified diff, open the commit in the Commit Viewer via the context menu in the commit table.)

This diff viewer has now a little context menu where the user can enable or disable showing whitespace characters.

Other Changes

EGit 5.4.0 includes lots of less noticeable improvements in the UI, plus a number of bug fixes. The complete list of new features and bug fixes is available in the release notes.


The following 8 developers worked on this release:

Alexander Nittka, Andrey Loskutov, Carsten Hammer, George Gastaldi, Matthias Sohn, Michael Keppler, Peter Severin, Thomas Wolf


You can see many of the changes in action in the Eclipse 2019-06 IDE Improvements: General and Git video.

See Also

See also the new features in JGit for additional information.

Back to the top