Jump to: navigation, search

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

(Add files to .gitignore in Staging view: Add link to bug)
(Other Improvements: Deselecting amend restores original message message)
Line 29: Line 29:
 
* When comparing a file with the current version (HEAD), its side now always shows the author and ID of the commit which last affected the file, not from HEAD ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=359071 bug 359071]).
 
* When comparing a file with the current version (HEAD), its side now always shows the author and ID of the commit which last affected the file, not from HEAD ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=359071 bug 359071]).
 
* Git Tree Compare view now has an ''Expand all'' button ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=376241 bug 376241]).
 
* Git Tree Compare view now has an ''Expand all'' button ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=376241 bug 376241]).
 +
* When accidentally pressing ''Amend'' in the Commit dialog or Staging view, pressing it again causes the original commit message to appear again instead of being lost ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=364022 bug 364022]).

Revision as of 08:10, 12 November 2012

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

EGit Features

Add files to .gitignore in Staging view

For an untracked file, the Staging view now has a Ignore action in the context menu. This will add the file to .gitignore. (bug 385178)

Staging view honors label decoration preferences

For example, when the label decorations are configured to not show any text decorations, but instead use an icon for the "dirty" state (bug 390297):

EGit-2.2-staging-view-decoration-settings.png

"Commit" and "Commit and Push" buttons in Staging view

We moved the commit button from the toolbar to the form. Furthermore we now allow you to push and commit in a single step by hitting the appropriate form button. The push occurrs either to the default remote or to upstream that the user configures in the push configuration dialog. (bug 388913):

EGit-2.2-staging-commit-and-push.png

Working set project decorations

Working sets now also receive the decorations, depending on what projects they contain. When all are from the same repository, the repository name, branch name and branch status is shown. When they are from different repositories but all on the same branch, only the branch name is shown. (bug 369969)

Other Improvements

  • Deleting untracked files from the Staging view can now be done using the delete key (bug 389137).
  • Amend now preserves the original authorship date and time (bug 362391).
  • When comparing a file with the current version (HEAD), its side now always shows the author and ID of the commit which last affected the file, not from HEAD (bug 359071).
  • Git Tree Compare view now has an Expand all button (bug 376241).
  • When accidentally pressing Amend in the Commit dialog or Staging view, pressing it again causes the original commit message to appear again instead of being lost (bug 364022).