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

Difference between revisions of "JGit/New and Noteworthy/0.8"

Line 9: Line 9:
 
  git.commit().setMessage("third commit").setAuthor(author).call();
 
  git.commit().setMessage("third commit").setAuthor(author).call();
  
 
+
= Internationalization =
= I18N =
+
 
Exception messages are now translatable.
 
Exception messages are now translatable.
  

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();

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.

Back to the top