submodule: document failure to handle relative superproject origin URLs
commit49301c64f3612d68058efb428a74133ac6e4a071
authorJon Seymour <jon.seymour@gmail.com>
Sun, 3 Jun 2012 09:46:48 +0000 (3 19:46 +1000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Jun 2012 21:35:09 +0000 (3 14:35 -0700)
tree9abd38646270633e6aa081a9082c5432ad168c1d
parent712693e8dbf188d4e9337c065617f09f7a0d1a16
submodule: document failure to handle relative superproject origin URLs

This test case documents several cases where handling of relative
superproject origin URLs doesn't produce an expected result.

submodule.{sub}.url in the superproject is incorrect in these cases:
  foo
  ./foo
  ./foo/bar

The remote.origin.url of the submodule is incorrect in the above cases
and also when the superproject origin URL is like:
  foo/bar
  ../foo
  ../foo/bar

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh
t/t7403-submodule-sync.sh