git submodule add: make the <path> parameter optional
authorJens Lehmann <Jens.Lehmann@web.de>
Tue, 22 Sep 2009 15:10:12 +0000 (17:10 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:50 +0000 (10:06 -0700)
commit08a06262e4bd1a029af5a5a479d5d3d5f7549a1d
tree610ca6a52ec10522c6c717a15f168aed0c8c87ab
parent1be224ba6e99f0ab34c998d7fa8023b76a15c8b6
git submodule add: make the <path> parameter optional

When <path> is not given, use the "humanish" part of the source repository
instead.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt
git-submodule.sh
t/t7400-submodule-basic.sh