Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EGit/New and Noteworthy/5.7"

(Initial content)
 
(Search in commit selection dialog)
Line 7: Line 7:
 
[[File:Repo Group Rename.png|alt="Screenshot showing the inline renaming of repository groups in EGit 5.7.0."]]
 
[[File:Repo Group Rename.png|alt="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.
+
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.
  
 
[[File:Repo Group Multi Operations.png|alt="Screenshot of the Git Repositories view showing multi-operations enabled on repository groups in EGit 5.7.0."]]
 
[[File:Repo Group Multi Operations.png|alt="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.
+
''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.
+
''Switch Repositories To→New Branch...'' creates a new local branch at the current HEAD in all the selected repositories.
  
 
== Unified Diffs ==
 
== Unified Diffs ==
  
There is a new command "Show Unified Diff" available when two commits or branches or tags from the same repository are selected.
+
There is a new command ''Show Unified Diff'' available when two commits or branches or tags from the same repository are selected.
  
 
[[File:Show Unified Diff.png|alt="Screenshot showing the 'Show Unified Diff' command in the Git History view in Egit 5.7.0."]]
 
[[File:Show Unified Diff.png|alt="Screenshot showing the 'Show Unified Diff' command in the Git History view in Egit 5.7.0."]]
Line 23: Line 23:
 
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.
 
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.
+
This is a read-only editor; many editor commands such as ''Find...'' are enabled. ''Save'' is disabled, but ''Save As...'' is available.
  
 
== Comparing Commits ==
 
== Comparing Commits ==
Line 29: Line 29:
 
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".
 
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".
  
 +
The commit selection dialog openend from the ''Compare With→Commit...'' command now allows the user to search in the commit list using the same UI as is used in the Git History view.
 +
 +
[[File:Find Commit.png|alt="Screenshot of the commit selection dialog showing the new 'find' toolbar in EGit 5.7.0."]]
 +
 
== Other Changes ==
 
== Other Changes ==
  

Revision as of 16:59, 27 February 2020

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".

The commit selection dialog openend from the Compare With→Commit... command now allows the user to search in the commit list using the same UI as is used in the Git History view.

"Screenshot of the commit selection dialog showing the new 'find' toolbar in EGit 5.7.0."

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