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/4.5

< JGit‎ | New and Noteworthy
Revision as of 05:59, 21 September 2016 by Matthias.sohn.sap.com (Talk | contribs) (Created page with "=JGit= * Push implementation of option strings. Example usage: $ ./jgit push \ --push-option "Reviewer=j.doe@example.org" \ --push-option "<arbitrary string>"...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JGit

  • Push implementation of option strings.

Example usage:

   $ ./jgit push \
     --push-option "Reviewer=j.doe@example.org" \
     --push-option "<arbitrary string>" \
     origin HEAD:refs/for/master

Push options were also added to cgit

  • Packet logging for JGit

Imitate the packet tracing feature from C Git. Unlike C Git, use the log4j log level setting instead of the GIT_TRACE_PACKET environment variable to enable tracing. Use as follows: 1. Enable tracing by adding the lines

       log4j.logger.org.eclipse.jgit.transport=DEBUG, stderr
       log4j.additivity.org.eclipse.jgit.transport=false
   to org.eclipse.jgit.pgm/resources/log4j.properties.

2. mvn package 3. org.eclipse.jgit.pgm/target/jgit \

       ls-remote git://git.kernel.org/pub/scm/git/git 2>&1 | less

Then the output provides a trace of packets sent and received over the wire

  • Shallow fetch/clone: Make --depth mean the total history depth
  • cgit changed the --depth parameter to mean the total depth of history rather than the depth of ancestors to be returned. JGit still uses the latter meaning, so update it to match cgit.
  • Shallow fetch: Respect "shallow" lines
  • ReceivePack: report protocol parsing failures on channel 3
  • Push: Report fatal server errors during pack writing
  • Add configureJSch() method to allow configuration of JSch objects
  • Add support for post-commit hooks
  • Enhance ResetCommand to allow disabling reflog update

JGit Command Line

  • Added a clean command.
  • Tag command: implement option -d for deleting tags

LFS

  • improve exception handling in LfsProtocolServlet

Bug Fixes

4 Bugs were closed

Contributors

The following ?? developers worked on this release of JGit :

Back to the top