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

(XYZ)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
= New Features =
 
= New Features =
 +
== Improved decorator performance ==
 +
* An IndexDiff cache and a new resource decorator have been implemented to improve performance of resource decoration.
  
== XYZ ==
+
== 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.
  
TODO
+
== 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 ==
 +
=== Pull with multi-selection ===
 +
 
 +
The '''Pull''' command now also works if resources are selected from more than one repository.
 +
 
 +
=== 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.
 +
 
 +
=== Delete tag command ===
 +
 
 +
On a tag, you may now click '''Delete Tag''' to delete a tag.
 +
 
 +
=== Drag file from working tree to open editor ===
 +
 
 +
Files can now be opened by dragging them from the Working Directory to the Editor Area.
 +
 
 +
== History View ==
 +
 
 +
=== 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'''
 +
 
 +
=== 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.
 +
 
 +
=== 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.
 +
 
 +
==Reflog View==
 +
=== 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.
 +
 
 +
=== 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 ? bugs and ? 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]
 +
 +
[[Category:EGit]]

Latest revision as of 22:10, 29 November 2023

New Features

Improved decorator performance

  • 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

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

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 example movie

Repositories View

Pull with multi-selection

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

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.

Delete tag command

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

Drag file from working tree to open editor

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

History View

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

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.

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.

Reflog View

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.

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.

Gist-from-console.png

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

Bugs Closed

114 bugs and 12 enhancement requests were closed.

Commits

EGit 1.2 - commits in gitweb

Back to the top