]> source.dussan.org Git - jgit.git/commit
Add builder-style API to jgit and Commit & Log cmd 91/591/10
authorChristian Halstrick <christian.halstrick@sap.com>
Mon, 26 Apr 2010 11:35:30 +0000 (13:35 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Mon, 10 May 2010 13:17:55 +0000 (15:17 +0200)
commitf3fb5824ba45197787bc4ffb81fafcd576c60291
treea088abfcf1110ebaf6e032fdfa7865dd0382d41e
parent541ad72ac6a6529e20fb1b0694c592c0bcc98d38
Add builder-style API to jgit and Commit & Log cmd

Added a new package org.eclipse.jgit.api and a builder-style API for
jgit. Added also the first implementation for two git commands: Commit
and Log.

This API is intended to be used by external components when
functionalities of the standard git commands are required. It will also
help to ease writing JGit tests.

For internal usages this API may often not be optimal because the git
commands are doing much more than required or they expect parameters of
an unappropriate type.

Change-Id: I71ac4839ab9d2f848307eba9252090c586b4146b
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
12 files changed:
org.eclipse.jgit.test/META-INF/MANIFEST.MF
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTests.java [new file with mode: 0644]
org.eclipse.jgit/META-INF/MANIFEST.MF
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/ConcurrentRefUpdateException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/GitAPIException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/GitCommand.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/JGitInternalException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/LogCommand.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/NoHeadException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/NoMessageException.java [new file with mode: 0644]