summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--patch-with-stat_initial
diff options
context:
space:
mode:
authorLibravatar Jens Lehmann <Jens.Lehmann@web.de>2011-06-06 21:58:04 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-06 13:46:36 -0700
commit4d689320049e1ff3bd31e0468d6f17eeb0b7029c (patch)
treeb3f96609e1df7afbb3640a8384721f39aa4098eb /t/t4013/diff.diff-tree_--patch-with-stat_initial
parentsubmodule add: test failure when url is not configured in superproject (diff)
downloadtgif-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 't/t4013/diff.diff-tree_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions