]> source.dussan.org Git - jgit.git/commit
Unit test for the updating behavior in RepoCommand API. 49/27049/4
authorYuxuan 'fishy' Wang <fishywang@google.com>
Wed, 21 May 2014 18:16:36 +0000 (11:16 -0700)
committerYuxuan 'fishy' Wang <fishywang@google.com>
Tue, 27 May 2014 19:50:15 +0000 (12:50 -0700)
commiteb98ebcc279ce26633c4fa6542d13968a06624dd
treeeb0f88fe363596690db72bca3f7886f5f620f341
parentfbef8eb3fa102d493450e4001f5b51a5365f6fec
Unit test for the updating behavior in RepoCommand API.

When update the manifest against a bare repository, RepoCommand will replace
every existing content from the repository with contents populated from the
manifest. Added note for that and a unit test to make sure this behavior.

Change-Id: I1d5960e84bca5aa2a4e86f424d2ddd4197894cdc
Signed-off-by: Yuxuan 'fishy' Wang <fishywang@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java