Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

JGit/New and Noteworthy/2.2


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


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


  • New GarbageCollectCommand command



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


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


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

Command Line

  • New archive command supporting tar and zip
  • New reflog command (bug 394497)
  • New status command 'jgit status' (bug 348318)
  • Merge command
    • Added --squash option
    • Added support for --no-ff
  • Have jgit ls-tree to accept path args like git-ls-tree


  • JGit build was updated to use Tycho 0.16

Bug Fixes

10 Bugs and 12 enhancement requests were closed


The following developers worked on this release of JGit:

Chris Aniszczyk, Christian Halstrick, Colby Ranger, Dani Megert, Dariusz Luksza, Dave Borowitz, Jonathan Nieder, Ketan Padegaonkar, Marc Strapetz, Markus Duft, Markus Keller, Matthias Sohn, Mikael Karlsson, Patrick Carlson, Robin Rosenberg, Robin Stocker, Sasa Zivkov, Shawn O. Pearce, Shawn Pearce, Tomasz Zarna, Tommi Siivola

Back to the top