author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 3 Mar 2009 15:08:20 +0000 (16:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Mar 2009 05:46:09 +0000 (21:46 -0800) | ||
commit | ac8463d2b4c0e88011c40985bc519c0e2e2f2278 | |
tree | ba481fbb1473e492b9f3692759116546ef9fc5fc | tree | snapshot |
parent | dcc901bc2926f92558a854430570123b4152451d | commit | diff |
git submodule: Add test cases for git submodule add
Add simple test cases for adding and initialising submodules. The
init step is necessary in order to verify the added information.
The second test exposes a known breakage due to './' in the path: git
ls-files simplifies the path but git add does not, which leads to git
init looking for different lines in .gitmodules than git add adds.
The other tests add test cases for '//' and '..' in the path which
currently fail for the same reason.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Add simple test cases for adding and initialising submodules. The
init step is necessary in order to verify the added information.
The second test exposes a known breakage due to './' in the path: git
ls-files simplifies the path but git add does not, which leads to git
init looking for different lines in .gitmodules than git add adds.
The other tests add test cases for '//' and '..' in the path which
currently fail for the same reason.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh | diff | blob | history |