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

Porcelain API

There's a new Git class that simplifies working with the JGit APIs.

// record a few commits
Git git = new Git(db);
git.commit().setMessage("initial commit").call();
git.commit().setMessage("second commit").setCommitter(committer).call();
git.commit().setMessage("third commit").setAuthor(author).call();

Internationalization

Exception messages are now translatable.

Standalone command utility `jgit` has translatable help/usage/output text.

Translations to languages other than English is now welcome.

Performance

Pack creation (during push, or when used as a server) uses about 50% less memory. This can be a significant savings for projects with 1 million+ objects.

Commits

TODO fill this in when we declare 0.8.0 with git log

Back to the top