author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 10 Apr 2010 05:39:04 +0000 (00:39 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Apr 2010 04:30:59 +0000 (21:30 -0700) | ||
commit | a76c944bbe207953c9f0f23311702d2b8225d486 | |
tree | 616d7af6c46118cca0c7987138c18162fcc7870d | tree | snapshot |
parent | fe454b13156e639adaae4526d04fd5b74eb8c84c | commit | diff |
t7400: clarify 'submodule add' tests
A new reader may not realize what properties the $submodurl
repository needs to have.
One of the tests is checking that ‘submodule add -b foo’ creates
a ‘foo’ branch. Put this test in context by checking that
without -b, no ‘foo’ branch is created.
While at it, make sure each added submodule is a reasonable
repository, with clean index, no stray files, and so on.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
A new reader may not realize what properties the $submodurl
repository needs to have.
One of the tests is checking that ‘submodule add -b foo’ creates
a ‘foo’ branch. Put this test in context by checking that
without -b, no ‘foo’ branch is created.
While at it, make sure each added submodule is a reasonable
repository, with clean index, no stray files, and so on.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh | diff | blob | history |