Code

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)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Sep 2009 19:24:49 +0000 (12:24 -0700)
commit1414e5788b85787a712a30977b388200f1bc04da
tree883d7027fceed475781430ff2d57957d648ab136
parenta16753dc2e6f885fd30e570610c3e8cf355ecf04
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