Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
JGit/New and Noteworthy/4.8
< JGit | New and Noteworthy
Contents
JGit
Features
- Allow DfsReader to be subclassed
- Track read IO statistics for DfsReader
- Support pulling remote branches to apply them on detached HEAD bug 485396
- Reset ObjectWalker when it starts a new walk
- Clone: add --recurse-submodules option
- Add parseCommit(AnyObjectId) method to Repository.
- RepoCommand: Add linkfile support.
- BundleWriter: Allow constructing from only an ObjectReader
- Support creating Mergers without a Repository using an ObjectInserter and a config that declares a diff algorithm.
- Run auto GC in the background. Execute gc at maximum once per day if number of loose unreachable objects which didn't expire yet exceeds gc.auto limit.
- Allow to use an external ExecutorService for background auto-gc
- Use a dedicated executor to run auto-gc in command line interface
- Fetch: Add --recurse-submodules and --no-recurse-submodules options
Performance Improvements
- Exclude refs/tags from bitmap commit selection to reduce the number of bitmaps created and reduce the memory pressure on the GC task.
- Reduce fetch bandwidth cost when objects described by the client are missing on the server
Build and Release Engineering
- Upgrade maven plugins
- Update jetty to 9.4.5 bug 516514
- Update Orbit dependencies to the Oxygen version R20170516192513
Bug Fixes
No enhancement requests and 5 bugs were closed
- Checkout should not use too long filenames bug 508823
- Clean up the disk when cloning fails bug 516303
- Add shutdown hook to cleanup unfinished clone when JVM is killed bug 516303
- Fix stack overflow in MergeBaseGenerator
- DfsGarbageCollector: Delete expired garbage even when there is no GC pack present.
- When looping through alternates, prevent visiting the same object directory twice.
- Fix RepoCommand to allow for relative URLs
- PackWriterBitmapWalker: only throw MissingObjectException when necessary
- Archive TarFormat: Use commit time as timestamp for entries
- Make diff locations more consistent fixing incorrectly removed or duplicated lines in 3-way merge bug 514095
- Fix out-of-bounds exception in RepoCommand#relative
- Fix null return from FS.readPipe when command fails to launch
Contributors
The following 18 developers worked on this release of JGit :
Andrey Loskutov, Bryan Donlan, Christian Halstrick, Dan Willemsen, Dave Borowitz, David Pursehouse, Han-Wen Nienhuys, Jonathan Nieder, KB Sriram, Martin Fick, Masaya SuzukiZhen Chen, Mat Booth, Matthias Sohn, Mickael Istria, Shawn Pearce, Terry Parker, Thirumala Reddy Mutchukota, Thomas Wolf