submodule add: configure existing submodule url if not set
authorW. Trevor King <wking@tremily.us>
Sun, 2 Dec 2012 15:24:46 +0000 (10:24 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 2 Dec 2012 18:22:27 +0000 (13:22 -0500)
commit39b4ae260cccfab8b978a2963cb8ab8043afff0b
treeedcb7ddaa9b2b9ad1411b8505f4ba9fe97d26699
parent8962ba86d4e24d7e3a4af218921c580c87b9b5b5
submodule add: configure existing submodule url if not set

Note that relative repository arguments passed to

  $ git submodule add <repository> [<path>]

are expanded relative to the superproject's remote URL, not relative
to the current working directory.

Signed-off-by: W. Trevor King <wking@tremily.us>
git-submodule.sh