submodule: warn about non-submodules
commit496917b721adae11e596cd44b13cb8a49c388de7
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Feb 2009 13:43:15 +0000 (7 14:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Feb 2009 20:49:58 +0000 (7 12:49 -0800)
tree4d6be3ccbbf938eb523fb62cbcd21297d33056b8
parentf3670a5749d704fe1edee4201f9b23adbf0bf967
submodule: warn about non-submodules

Earlier, when you called

        git submodule some/bogus/path

Git would silently ignore the path, without warning the user about the
likely mistake.  Now it does.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7400-submodule-basic.sh