Jump to: navigation, search

Difference between revisions of "JGit/New and Noteworthy/2.0"

(Performance improvements)
m (Other Features)
 
(7 intermediate revisions by 2 users not shown)
Line 17: Line 17:
  
 
=={{code|CheckoutCommand}}==
 
=={{code|CheckoutCommand}}==
* Supports all paths option. This will perform the equivalent  of running a {{code|git checkout -- .}} at the root of a repository
+
* Supports "all paths" option. This will perform the equivalent  of running a {{code|git checkout -- .}} at the root of a repository
  
 
= Other Features =
 
= Other Features =
Line 28: Line 28:
 
* Support to write tests with git command line syntax
 
* Support to write tests with git command line syntax
 
* Enable large file support to add files with size over 2 GB.
 
* Enable large file support to add files with size over 2 GB.
* DirCheckout now validates paths to detect malformed, potentially malicious tree entries
+
* {{code|DirCheckout}} now validates paths to detect malformed, potentially malicious tree entries
* Add {{code|--all}} switch to jgit command line interface
+
* Add {{code|commit --all}} switch to jgit command line interface
 
* Add {{code|config --list}} command to jgit command line interface
 
* Add {{code|config --list}} command to jgit command line interface
 +
* {{code|core.autocrlf}} support fixed, it defaults to false but is no longer set explicitly when a new repository is created
 +
* Cleaned up exceptions in {{code|org.eclipse.jgit.api}}, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=366914 bug 366914]
 +
* Clirr API change report listing API changes between 1.3 and 2.0 will be published on the [http://www.eclipse.org/jgit/download/ JGit download page]
 +
* New features {{code|org.eclipse.jgit.pgm}} and {{code|org.eclipse.jgit.pgm.source}} to provision the JGit command line interface bundle via the EGit p2 repository.
  
 
= Performance improvements =
 
= Performance improvements =
 
* Performance of reading git configuration files was improved
 
* Performance of reading git configuration files was improved
* smudging and un-smudging of index entries was improved in order to improve git index performance
+
* Handling of smudged index entries was improved in order to improve git index performance
  
 
= Bug Fixes =
 
= Bug Fixes =
[https://bugs.eclipse.org/bugs/buglist.cgi?list_id=1764539;resolution=FIXED;resolution=DUPLICATE;classification=Technology;chfieldto=2012-06-06;query_format=advanced;chfield=bug_status;chfieldfrom=2012-02-25;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=JGit;product=JGit 20 Bugs and 7 enhancement requests] were closed
+
[https://bugs.eclipse.org/bugs/buglist.cgi?list_id=1764539;resolution=FIXED;resolution=DUPLICATE;classification=Technology;chfieldto=2012-06-06;query_format=advanced;chfield=bug_status;chfieldfrom=2012-02-25;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=JGit;product=JGit 20 Bugs and 8 enhancement requests] were closed

Latest revision as of 06:31, 28 June 2012

New Porcelain Commands

StashApplyCommand

  • Provides applying the changes in a stashed commit to the local working directory and index

StashCreateCommand

  • Provides support to stash the index and working directory changes in a commit stored in refs/stash

StashDropCommand

  • Provides support for dropping a stashed commit

ApplyCommand

  • Provides applying patches on a git index file and a working tree.

Updated Porcelain Commands

CloneCommand

  • Supports autosetuprebase

CheckoutCommand

  • Supports "all paths" option. This will perform the equivalent of running a git checkout -- . at the root of a repository

Other Features

  • Support for git configuration parameters url.insteadOf and url.pushInsteadOf supporting URL rewriting, e.g.
  [url "mirror1.example.org:/pub/git/"]
    insteadOf = mirror1.example.org:/pub/git/core/
  • Support to write tests with git command line syntax
  • Enable large file support to add files with size over 2 GB.
  • DirCheckout now validates paths to detect malformed, potentially malicious tree entries
  • Add commit --all switch to jgit command line interface
  • Add config --list command to jgit command line interface
  • core.autocrlf support fixed, it defaults to false but is no longer set explicitly when a new repository is created
  • Cleaned up exceptions in org.eclipse.jgit.api, see bug 366914
  • Clirr API change report listing API changes between 1.3 and 2.0 will be published on the JGit download page
  • New features org.eclipse.jgit.pgm and org.eclipse.jgit.pgm.source to provision the JGit command line interface bundle via the EGit p2 repository.

Performance improvements

  • Performance of reading git configuration files was improved
  • Handling of smudged index entries was improved in order to improve git index performance

Bug Fixes

20 Bugs and 8 enhancement requests were closed