Skip to main content

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.

Jump to: navigation, search

EGit/New and Noteworthy/5.7

< EGit‎ | New and Noteworthy
Revision as of 16:33, 27 February 2020 by Unnamed Poltroon (Talk) (Initial content)

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

EGit

Repository Groups

When a repository group is renamed in the Repositories view, a border is drawn around the editor inside the tree:

"Screenshot showing the inline renaming of repository groups in EGit 5.7.0."

Some commands that can work on multiple repositories have been enabled on repository groups. The context menu on a repository group now also has the "Pull" and "Switch Repositories To" commands.

"Screenshot of the Git Repositories view showing multi-operations enabled on repository groups in EGit 5.7.0."

"Pull" pulls all repositories contained in the group. "Switch Repositories To" allows the user to do a branch switch in all repositories, provided there is a local branch with with a name common between them all. Both commands were already available if multiple repositories were selected; newly they are also active when repository groups are selected.

"Switch Repositories To→New Branch..." creates a new local branch at the current HEAD in all the selected repositories.

Unified Diffs

There is a new command "Show Unified Diff" available when two commits or branches or tags from the same repository are selected.

"Screenshot showing the 'Show Unified Diff' command in the Git History view in Egit 5.7.0."

The command opens a diff viewer in the editor area of Eclipse showing the unified diff with the older commit as base. This diff viewer already existed in the Commit Viewer, "Diff" tab, where it showed the unified diff of the commit against its parent. This viewer is now available stand-alone, and can show the diff between any two commits.

This is a read-only editor; many editor commands such as "Find..." are enabled. "Save" is disabled, but "Save As..." is available.

Comparing Commits

It is now possible to compare two branches or tags in the Repositories View via the commands formerly available only in the History view: "Compare with Each Other", "Compare in Tree", and the new "Show Unified Diff".

Other Changes

EGit 5.7 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.

Contributors

The following X developers worked on this release:

<TBD: list of contributors, number>

See Also

See also the new features in JGit for additional information.

Back to the top