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>
Mon, 3 Dec 2012 14:37:02 +0000 (09:37 -0500)
commitb045c16cffe6eb86c157a6c7397166a46e147442
tree953af15bff5255226d5f0390b669b1c0ac007256
parentdb34fa98d491123bb541a1f5471728a0a523fb98
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