summaryrefslogtreecommitdiff
path: root/t/t4101/diff.2-0
diff options
context:
space:
mode:
authorLibravatar Jens Lehmann <Jens.Lehmann@web.de>2011-06-06 21:58:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-06 13:46:36 -0700
commitf22a17e8da25a043950a13f11035930922bb86e7 (patch)
treeb8fdcef7d6a5a7f55bde6e16d8f3a09a8ec47633 /t/t4101/diff.2-0
parentsubmodule add: allow relative repository path even when no url is set (diff)
downloadtgif-f22a17e8da25a043950a13f11035930922bb86e7.tar.xz
submodule add: clean up duplicated code
In cmd_add() the switch statement used to resolve a relative url was present twice. Remove the second one and use the realrepo variable set by the first one (lines 194 ff.) instead. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101/diff.2-0')
0 files changed, 0 insertions, 0 deletions