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.
JGit/New and Noteworthy/0.9
Contents
User Guide
JGit now has a user guide available on the Eclipse wiki.
Git Porcelain API Updates
A few more Git porcelain commands were added to the org.eclipse.jgit.api package
- AddCommand
- TagCommand
- MergeCommand
Exceptions for these porcelain commands have been moved to the org.eclipse.jgit.api.errors package.
.gitignore Support
JGit now respects entries in .gitignore... see org.eclipse.jgit.treewalk.WorkingTreeIterator.isEntryIgnored()
Improved Persistency Support
There was refactoring to prepare support of non-filesystem persistency so JGit can run on the cloud.
Rename Detection
JGit now supports rename detection.
See org.eclipse.jgit.diff.RenameDetector and tests for examples.
DirCacheCheckout
JGit now has a new DirCache based checkout implementation supporting all 3 index stages.
See org.eclipse.jgit.dircache.DirCacheCheckout and tests for examples.
Commits
There were TODO commits total!