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.
Difference between revisions of "JGit/New and Noteworthy/0.8"
< JGit | New and Noteworthy
(→TODO) |
|||
Line 2: | Line 2: | ||
There's a new Git class that simplifies working with the JGit APIs. | 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(); | ||
+ | |||
= I18N = | = I18N = |
Revision as of 21:04, 20 May 2010
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();
I18N
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.