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

JGit/New and Noteworthy/2.2

Library

RevWalk support for shallow clones

StartGenerator now processes .git/shallow to have the RevWalk stop for shallow commits (bug 394543)

Other enhancements

  • FileBaseConfig supports UTF-8 byte order marker
  • large (>32kiB) /info/refs responses on HTTP are compressed

Porcelain Commands

CheckoutCommand

  • supports checking out 'ours' and 'theirs' (bug 390147)

GarbageCollectCommand

  • add initial GarbageCollectCommand implementation

MergeCommand

MergeCommand

  • Add support for rebase interactive 'edit' command (bug 394577)
  • Add support for rebase interactive 'reword' command (bug 394575)

PullCommand

  • support for pull with --rebase and --no-rebase

RmCommand

  • Support for --cached (setCached(true)), which only removes from index (bug 395599)

Command Line

  • Added git-reflog to the CLI (bug 394497)
  • Add --squash option to org.eclipse.jgit.pgm.Merge
  • Have git-ls tree to accept path args like git-ls-tree
  • Added new Status CLI command 'jgit status' (bug 348318)
  • New archive command supporting tar and zip
  • Added support for --no-ff to merge command

Build

  • JGit build was updated to use Tycho 0.16

Bug Fixes

10 Bugs and 12 enhancement requests were closed

Back to the top