git submodule add: make the <path> parameter optional
commite3d6ef8b027d5daf058898f5dceba10c432e687b
authorJens Lehmann <Jens.Lehmann@web.de>
Fri, 28 Aug 2009 19:13:16 +0000 (28 21:13 +0200)
committerJens Lehmann <Jens.Lehmann@web.de>
Sun, 4 Oct 2009 15:45:22 +0000 (4 17:45 +0200)
treed6fd23b21675671b3e634e812ae01004a908d414
parentc44e0e86645d1c9a7779c97b1b1196a3f5e80c31
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>
Documentation/git-submodule.txt
git-submodule.sh
t/t7400-submodule-basic.sh