]> source.dussan.org Git - jgit.git/commit
Add new submodule layout to SubmoduleAddCommand 34/49734/2
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 9 Jun 2015 07:31:26 +0000 (09:31 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 10 Jun 2015 22:11:27 +0000 (00:11 +0200)
commit4531259613699688cadbfe6dcc577ccf8a90eb8d
tree1d9db9bb981bfd10fc8e8891db49c27b6add2469
parent2508f1695f38e450ed320bafdd6b94fedabf116d
Add new submodule layout to SubmoduleAddCommand

The new submodule layout where GITDIR of a submodule is located at
<parent-repo-GITDIR>/modules/<submodule-path> was only used during
clone. Teach SubmoduleAddCommand to use the new layout.

Bug: 469666
Change-Id: Ie97dc0607b71499560444616f362bccee9cce515
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleAddCommand.java