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 "JGit/New and Noteworthy/2.0"

(Bug Fixes)
(Mention core.autocrlf and git api changes)
Line 31: Line 31:
 
* Add {{code|--all}} switch to jgit command line interface
 
* Add {{code|--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
 +
* {{core.autocrlf}} support fixed
 +
* Cleaned up exceptions in org.eclipse.jgit.api
  
 
= Performance improvements =
 
= Performance improvements =

Revision as of 16:32, 1 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 --all switch to jgit command line interface
  • Add config --list command to jgit command line interface
  • Template:Core.autocrlf support fixed
  • Cleaned up exceptions in org.eclipse.jgit.api

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

Back to the top