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

From Eclipsepedia

Jump to: navigation, search
(Delete Branch Command =)
(Bugs Closed)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
= New Features =
 
= New Features =
 
== Improved decorator performance ==  
 
== Improved decorator performance ==  
* through IndexDiff cache and new decorator implementation
+
* An IndexDiff cache and a new resource decorator have been implemented to improve performance of resource decoration.
 +
 
 
== Support for project rename and move for some cases ==
 
== Support for project rename and move for some cases ==
 +
EGit can now move and rename projects within a repository for a number
 +
of cases. Moving a project to a subdirectory does not work and since
 +
Eclipse actually destroys the project, we simply forbid it for now
 +
(Platform bug 307140). The bug is only worked around in Eclipse 3.7,
 +
i.e. forbidden in the UI.
 +
 
== Option to auto-share projects on import when located in a working tree ==
 
== Option to auto-share projects on import when located in a working tree ==
 +
 +
When the new preference '''Team > Git Projects > Auto share project located in a git repository''' is enabled projects which are located in the working tree of a git repository are automatically shared with the Git team provider when the project is imported into the workspace.
 +
 +
== Interactive adding in Compare Editors ==
 +
 +
You can stage only part of file and save it in git index. Also reverting selected hunk of code (from git index to working tree and from HEAD to working tree) is supported. For more detailed description you can watch this [http://www.youtube.com/watch?v=d94RI9QA-RU example movie]
 +
 
== Repositories View ==
 
== Repositories View ==
 
=== Pull with multi-selection ===
 
=== Pull with multi-selection ===
Line 25: Line 39:
 
=== Option to follow renames ===
 
=== Option to follow renames ===
  
A new view menu item '''Show > Follow Renames''' allows to toggle whether renames of a selected ressource should be followed, if the  "Resource" filter is used.
+
The new Preference '''Preferences > Team > Git > Views > Follow Renames''' allows to toggle whether renames of a selected resource should be followed in the History View, if the  "Resource" filter is used. This preference can also be configured from the History View's menu '''Show > Follow Renames'''
  
 
=== Delete Branch Command ===
 
=== Delete Branch Command ===
Line 36: Line 50:
  
 
==Reflog View==
 
==Reflog View==
*show timestamp and commit short message
+
=== Show Timestamp and Commit Short Message ===
*checkout command
+
 
==Commit Editor==
+
A reflog entry now additionally shows the timestamp of the reflog entry and the short message of the associated commit.
*checkout command
+
 
*cherry-pick command
+
=== New Commands ===
 +
 
 +
The new context menu action '''Checkout''' will checkout the selected commit and the HEAD will become detached. The new action '''Open in Commit Viewer''' will open the commit matching the reflog entry, the same action can be triggered by double-clicking the reflog entry.
 +
 
 +
== Commit Editor ==
 +
 
 +
=== Checkout Command ===
 +
 
 +
A new '''Checkout''' button allows to check out the commit displayed in the commit viewer. The HEAD pointer will become detached.
 +
 
 +
=== Cherry-Pick Command ===
 +
 
 +
A new '''Cherry-Pick''' button allows to cherry-pick the displayed commit. This applies the change introduced by the displayed commit on top of the currently checked out commit or branch.
 +
 
 +
== GitHub Mylyn Connector ==
 +
 
 +
* You can now create Gists from selections in the '''Console''' view.
 +
 
 +
[[Image:gist-from-console.png]]
 +
 
 +
* Support for [https://enterprise.github.com/ GitHub Enterprise]
 +
* GitHub Java API updates
 +
** OAuth API support
 +
** Service Hook support
 +
** Repository contributors, languages, branches, and teams
  
 
= Bugs Closed =
 
= Bugs Closed =
[https://bugs.eclipse.org/bugs/buglist.cgi?chfieldto=2011-12-21;chfield=bug_status;query_format=advanced;order=Importance;chfieldfrom=2011-09-23;bug_status=RESOLVED;bug_status=CLOSED;resolution=FIXED;resolution=DUPLICATE;product=EGit;classification=Technology 103 bugs and 11 enhancement requests] were closed.
+
[https://bugs.eclipse.org/bugs/buglist.cgi?chfieldto=2011-12-21;chfield=bug_status;query_format=advanced;order=Importance;chfieldfrom=2011-09-23;bug_status=RESOLVED;bug_status=CLOSED;resolution=FIXED;resolution=DUPLICATE;product=EGit;classification=Technology 114 bugs and 12 enhancement requests] were closed.
  
 
= Commits =  
 
= Commits =  
  
 
[http://egit.eclipse.org/w/?p=egit.git;a=shortlog;h=stable-1.2;hp=v1.1.0.201109151100-r;opt=--no-merges EGit 1.2 - commits in gitweb]
 
[http://egit.eclipse.org/w/?p=egit.git;a=shortlog;h=stable-1.2;hp=v1.1.0.201109151100-r;opt=--no-merges EGit 1.2 - commits in gitweb]

Latest revision as of 19:41, 21 December 2011

Contents

[edit] New Features

[edit] Improved decorator performance

  • An IndexDiff cache and a new resource decorator have been implemented to improve performance of resource decoration.

[edit] Support for project rename and move for some cases

EGit can now move and rename projects within a repository for a number of cases. Moving a project to a subdirectory does not work and since Eclipse actually destroys the project, we simply forbid it for now (Platform bug 307140). The bug is only worked around in Eclipse 3.7, i.e. forbidden in the UI.

[edit] Option to auto-share projects on import when located in a working tree

When the new preference Team > Git Projects > Auto share project located in a git repository is enabled projects which are located in the working tree of a git repository are automatically shared with the Git team provider when the project is imported into the workspace.

[edit] Interactive adding in Compare Editors

You can stage only part of file and save it in git index. Also reverting selected hunk of code (from git index to working tree and from HEAD to working tree) is supported. For more detailed description you can watch this example movie

[edit] Repositories View

[edit] Pull with multi-selection

The Pull command now also works if resources are selected from more than one repository.

[edit] Property page for repository configuration

In the Git Repositories view, there is a new Properties action in the context menu, which will open a configuration dialog allowing to edit the Repository Configuration. Here, key value pairs can be added, changed or deleted. The Open button allows to open the Repository Configuration file in a text editor.

[edit] Delete tag command

On a tag, you may now click Delete Tag to delete a tag.

[edit] Drag file from working tree to open editor

Files can now be opened by dragging them from the Working Directory to the Editor Area.

[edit] History View

[edit] Option to follow renames

The new Preference Preferences > Team > Git > Views > Follow Renames allows to toggle whether renames of a selected resource should be followed in the History View, if the "Resource" filter is used. This preference can also be configured from the History View's menu Show > Follow Renames

[edit] Delete Branch Command

In the commit graph area, there is a new context menu action "Delete Branch" allowing to delete a branch. It will be enabled if a branch exists for the currently selected commit, which is not checked out. If there is a single branch on this commit, which is not checked out, this action will delete this branch immediately. If multiple such branches exist, a dialog will be shown asking which branches should be deleted. If commits become unreachable on "Delete Branch" a confirmation dialog will be shown to prevent accidental unreachability of commits.

[edit] Show annotations from file table in history view

In the revision details area, there is a new context menu action Show Annotations. On selected files it will open the file in a (read-only) editor and display an annotation ruler with commit and author information ("blame annotations") for each line in a file.

[edit] Reflog View

[edit] Show Timestamp and Commit Short Message

A reflog entry now additionally shows the timestamp of the reflog entry and the short message of the associated commit.

[edit] New Commands

The new context menu action Checkout will checkout the selected commit and the HEAD will become detached. The new action Open in Commit Viewer will open the commit matching the reflog entry, the same action can be triggered by double-clicking the reflog entry.

[edit] Commit Editor

[edit] Checkout Command

A new Checkout button allows to check out the commit displayed in the commit viewer. The HEAD pointer will become detached.

[edit] Cherry-Pick Command

A new Cherry-Pick button allows to cherry-pick the displayed commit. This applies the change introduced by the displayed commit on top of the currently checked out commit or branch.

[edit] GitHub Mylyn Connector

  • You can now create Gists from selections in the Console view.

Gist-from-console.png

  • Support for GitHub Enterprise
  • GitHub Java API updates
    • OAuth API support
    • Service Hook support
    • Repository contributors, languages, branches, and teams

[edit] Bugs Closed

114 bugs and 12 enhancement requests were closed.

[edit] Commits

EGit 1.2 - commits in gitweb