Git Porcelain API: Add Command
commit233e0130b5b739a880bf5f8f2416ad538a4a98d4
authorStefan Lay <stefan.lay@sap.com>
Thu, 8 Jul 2010 08:32:57 +0000 (8 10:32 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Wed, 14 Jul 2010 11:24:58 +0000 (14 11:24 +0000)
tree4b980818c8b80ae460ead2c670863ef55da190af
parent0ef99921fa9f651ba13325de7a4713bfedca4d00
Git Porcelain API: Add Command

The new Add command adds files to the Git Index.
It  uses the DirCache to access the git index. It
works also in case of an existing conflict.

Fileglobs (e.g. *.c) are not yet supported.

The new Add command does add ignored files because
there is no gitignore support in jgit yet.

Bug: 318440
Change-Id: If16fdd4443e46b27361c2a18ed8f51668af5d9ff
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/AddCommandTest.java [new file with mode: 0644]
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/api/AddCommand.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java
org.eclipse.jgit/src/org/eclipse/jgit/api/NoFilepatternException.java [new file with mode: 0644]