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/2.1"

(EGit Features: Improved conflict markers for rebase/cherry-pick conflicts)
(Context menu in Git Tree Compare view)
Line 20: Line 20:
  
 
[[Image:EGit-2.1-staging-view-problem-decorations.png]]
 
[[Image:EGit-2.1-staging-view-problem-decorations.png]]
 +
 +
== Context menu in Git Tree Compare view ==
 +
 +
The Git Tree Compare view now has a context menu, with ''Open Working Tree Version'' and a ''Show In'' menu:
 +
 +
[[Image:EGit-2.1-tree-compare-context-menu.png]]
 +
 +
It now also acts as a selection provider, so that other views (e.g. History view) can track the selection of the Tree Compare view.
  
 
== Improved conflict markers for rebase/cherry-pick conflicts ==
 
== Improved conflict markers for rebase/cherry-pick conflicts ==

Revision as of 07:24, 3 September 2012

Note that 2.1 is not yet released, please install from the Nightly Update Site to use these features.

EGit Features

Delete untracked files in Staging View and Repositories View

The Staging View now has a context menu action Delete which makes it possible to delete untracked files directly from the view. The Repositories View has the same action.

When all the selected files are workspace resources, it's possible to undo the delete using the Edit -> Undo menu.

Before, it was always necessary to locate the file in the Package Explorer or Navigator. In the case of non-workspace resources, it was necessary to leave Eclipse.

Commit using Ctrl+Enter (Cmd+Enter) in Staging View and Commit Dialog

After having entered the commit message, it's now possible to commit using the Ctrl+Enter (or Cmd+Enter on Mac OS X) shortcut instead of clicking on the toolbar icon.

Show warnings/errors on files in Staging View and Commit Dialog

When there is a problem on a file, it was previously only possible to see this in the Package Explorer or Navigator. Now the decorations are also shown when preparing a commit, in the Commit Dialog and in the Staging View:

EGit-2.1-staging-view-problem-decorations.png

Context menu in Git Tree Compare view

The Git Tree Compare view now has a context menu, with Open Working Tree Version and a Show In menu:

EGit-2.1-tree-compare-context-menu.png

It now also acts as a selection provider, so that other views (e.g. History view) can track the selection of the Tree Compare view.

Improved conflict markers for rebase/cherry-pick conflicts

Instead of OURS/THEIRS, the conflict markers now show more useful information. For example, a conflicting cherry-pick:

<<<<<<< master
a
=======
b
>>>>>>> bad1dea Message of the commit I'm cherry-picking

A conflict during rebase:

<<<<<<< Upstream, based on master
a
=======
b
>>>>>>> b161dea Message of a commit I'm rebasing

Bugs Closed

EGit bugs closed up to now

Back to the top