]> source.dussan.org Git - jgit.git/commit
Load .gitmodules config before adding values to it 25/5225/2
authorSascha Scholz <sascha.scholz@gmail.com>
Fri, 2 Mar 2012 17:31:09 +0000 (09:31 -0800)
committerKevin Sawicki <kevin@github.com>
Fri, 2 Mar 2012 17:31:09 +0000 (09:31 -0800)
commita1f877e312bd63c63c6b9d6ba32b5c68bc43a10d
treeade1284f02aef96ec087f98237fceb75534d5532
parent1515d7b7d54534a2ac44a274d4407654fb3ec512
Load .gitmodules config before adding values to it

This prevents existing entries from being cleared when the
.gitmodules config is saved after the new submodule configuration
is added.

Change-Id: I66841f5e758a7527e2e6e25cf1318e5fea91a909
Signed-off-by: Kevin Sawicki <kevin@github.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/submodule/SubmoduleAddTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleAddCommand.java