]> source.dussan.org Git - jgit.git/commit
Check assume unchanged flag in Add command 70/1970/2
authorStefan Lay <stefan.lay@sap.com>
Mon, 29 Nov 2010 16:58:38 +0000 (17:58 +0100)
committerStefan Lay <stefan.lay@sap.com>
Mon, 29 Nov 2010 16:58:38 +0000 (17:58 +0100)
commit9225b88ae6b22eb6164434f62c5226ada777d277
treebbfb422b0219e85ac45b6bea4010fe302755c7f3
parent12b635043506211fe9c873f14fc8e03546d6081d
Check assume unchanged flag in Add command

When the assume unchanged flag is set the Add command must not update
the index for this file if any changes are present in the working
directory.

Bug: 331351
Change-Id: I255870f689225a1d88971182e0eb377952641b42
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/AddCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryTestCase.java
org.eclipse.jgit/src/org/eclipse/jgit/api/AddCommand.java