diff options
author | Jens Lehmann <Jens.Lehmann@web.de> | 2011-06-06 21:58:04 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-06 13:46:36 -0700 |
commit | 4d689320049e1ff3bd31e0468d6f17eeb0b7029c (patch) | |
tree | b3f96609e1df7afbb3640a8384721f39aa4098eb /Documentation/git-ls-remote.txt | |
parent | submodule add: test failure when url is not configured in superproject (diff) | |
download | tgif-4d689320049e1ff3bd31e0468d6f17eeb0b7029c.tar.xz |
submodule add: allow relative repository path even when no url is set
Adding a submodule with a relative repository path did only succeed when
the superproject's default remote was set. But when that is unset, the
superproject is its own authoritative upstream, so lets use its working
directory as upstream instead.
This allows users to set up a new superpoject where the submodules urls
are configured relative to the superproject's upstream while its default
remote can be configured later.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-ls-remote.txt')
0 files changed, 0 insertions, 0 deletions